@kstory/core
Version: 
Core parser and lexer for KStory interactive fiction language
25 lines • 1.53 kB
TypeScript
import { type Token } from './token';
export declare function commentToken(value: string): Token<string>;
export declare function commentContentToken(value: string): Token<string>;
export declare function multiCommentBeginToken(): Token<string>;
export declare function multiCommentEndToken(): Token<string>;
export declare function newLineToken(): Token<string>;
export declare function indentToken(): Token;
export declare function dedentToken(): Token;
export declare function eofToken(): Token;
export declare function replicaBeginToken(): Token<string>;
export declare function replicaEndToken(): Token;
export declare function stringToken(value: string): Token<string>;
export declare function choiceToken(val: string): Token<string>;
export declare function choiceTextBoundToken(silent?: boolean): Token<string>;
export declare function choiceTextToken(value: string): Token<string>;
export declare function choiceTagToken(val: string): Token<string>;
export declare function tagToken(val: string): Token<string>;
export declare function tagValueToken(val: string): Token<string>;
export declare function sectionToken(): Token<string>;
export declare function identifierToken(val: string): Token<string>;
export declare function gotoToken(val: string): Token<string>;
export declare function errorToken(val: string): Token<string>;
export declare function callToken(functionName: string): Token<string>;
export declare function callArgumentToken(argument: string): Token<string>;
//# sourceMappingURL=tokenFactory.d.ts.map