Interface CSTParseReturn

Return type interface for the parseLedgerToCST method.

interface CSTParseReturn {
    cstJournal: CstNode;
    lexErrors: ILexingError[];
    parseErrors: IRecognitionException[];
}

Hierarchy (view full)

Properties

cstJournal: CstNode

Chevrotain CstNode tree representing the parsed ledger

lexErrors: ILexingError[]

An array list of all encountered lexer errors

parseErrors: IRecognitionException[]

An array list of all encountered parsing errors

Generated using TypeDoc