@kstory/core
Version:
Core parser and lexer for KStory interactive fiction language
8 lines • 942 B
TypeScript
export type { AstCall, AstChoice, AstGoto, AstInlineCallSegment, AstProgram, AstReplica, AstSection, AstStatement, AstTag, AstTextSegment, SourcePosition, } from './ast';
export { Lexer } from './lexer';
export { ParseError, type ParseResult, type ParserIssue, parseAll, parseFromSource, parseProgramFromTokens, } from './parser';
export type { Token, TokenType, TokenTypes, } from './token';
export { callArgumentToken, callToken, choiceTagToken, choiceTextBoundToken, choiceTextToken, choiceToken, commentContentToken, commentToken, dedentToken, eofToken, gotoToken, identifierToken, indentToken, multiCommentBeginToken, multiCommentEndToken, newLineToken, replicaBeginToken, replicaEndToken, sectionToken, stringToken, tagToken, tagValueToken, } from './tokenFactory';
export { printToken } from './utils/printToken';
export { type ValidationIssue, validateProgram, validateTokens, } from './validator';
//# sourceMappingURL=index.d.ts.map