A stylesheet language written in TypeScript that compiles to CSS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

literal.ts 283B

123456789101112131415
  1. import * as AST from '../ast';
  2. import Env from '../env';
  3. import Token from '../token';
  4. export class Literal {
  5. public value: Token;
  6. public constructor(value: Token) {
  7. this.value = value;
  8. }
  9. public compile(_env: Env, _opts: AST.Opts) {
  10. return this.value.value;
  11. }
  12. }