@gram-data/gram-ast
Version:
AST definitions for gram data graphs
18 lines (17 loc) • 676 B
TypeScript
export declare const boolean: RegExp;
export declare const hexadecimal: RegExp;
export declare const octal: RegExp;
export declare const measurement: RegExp;
export declare const decimal: RegExp;
export declare const integer: RegExp;
export declare const taggedString: RegExp;
export declare const doubleQuotedString: RegExp;
export declare const singleQuotedString: RegExp;
export declare const tickedString: RegExp;
export declare const symbol: RegExp;
export declare const identifier: RegExp;
/**
* Checks whether the given string is a valid identifier.
*
*/
export declare const isValidIdentifier: (s?: string | undefined) => boolean | "" | undefined;