derya
Version:
Multi-Parser & Code-Generator, developed with TypeScript on node.js.
21 lines (18 loc) • 394 B
text/typescript
//Classes
export class CSSProperty{
//Declarations
private readonly name:string;
private readonly value:string;
//Constructor
constructor(name:string, value:string){
this.name = name;
this.value = value;
}
//Methods
getName():string{
return this.name;
}
getValue():string{
return this.value;
}
}