ts-fusion-parser
Version:
Parser for Neos Fusion Files
56 lines (55 loc) • 1.85 kB
TypeScript
export declare class Token {
static EOF: number;
static SLASH_COMMENT: number;
static HASH_COMMENT: number;
static MULTILINE_COMMENT: number;
static SPACE: number;
static NEWLINE: number;
static INCLUDE: number;
static NAMESPACE: number;
static META_PATH_START: number;
static OBJECT_PATH_PART: number;
static PROTOTYPE_START: number;
static ASSIGNMENT: number;
static COPY: number;
static UNSET: number;
static FUSION_OBJECT_NAME: number;
static TRUE_VALUE: number;
static FALSE_VALUE: number;
static NULL_VALUE: number;
static INTEGER: number;
static FLOAT: number;
static STRING_DOUBLE_QUOTED: number;
static STRING_SINGLE_QUOTED: number;
static EEL_EXPRESSION: number;
static DSL_EXPRESSION_START: number;
static DSL_EXPRESSION_CONTENT: number;
static FILE_PATTERN: number;
static DOT: number;
static COLON: number;
static RPAREN: number;
static LBRACE: number;
static RBRACE: number;
static PROPERTY_DOCUMENTATION_DEFINITION: number;
static PROTOTYPE_DOCUMENTATION_DEFINITION: number;
static EEL_EXPRESSION_START: number;
static STRING_DOUBLE_QUOTED_START: number;
static STRING_SINGLE_QUOTED_START: number;
static EEL_EXPRESSION_FUNCTION_PATH: number;
static LPAREN: number;
static COMMA: number;
static EEL_EXPRESSION_OBJECT_PATH: number;
static EEL_EXPRESSION_OBJECT_PATH_PART: number;
static LBRACKET: number;
static RBRACKET: number;
static EEL_EXPRESSION_CALLBACK: number;
private static ConstantsMap;
protected type: number;
protected value: string;
protected name: string;
constructor(type: number, value: string);
getType(): number;
getValue(): string;
static typeToString(type: number): string;
private static getConstants;
}