UNPKG

cordbuilder

Version:

Simple dsl to create discord builders simple.

18 lines (17 loc) 702 B
import { ProgramProps, PropertyDeclarationProps } from "../types/statements"; import { Expression } from "../types/expressions"; import { StatementKind } from "../types/ast"; import Token from "./Token"; import { Identifier } from "./Expressions"; export declare class Program implements ProgramProps { statements: PropertyDeclaration[]; kind: StatementKind.Program; constructor(statements: PropertyDeclaration[]); } export declare class PropertyDeclaration implements PropertyDeclarationProps { identifier: Identifier; expression: Expression; at: Token; kind: StatementKind.PropertyDeclaration; constructor(identifier: Identifier, expression: Expression, at: Token); }