YaccConstructor


AbstractParser

Namespace: Yard.Generators.GLL

Functions and values

Function or valueDescription
buildAst parser input
Signature: parser:ParserSourceGLL -> input:IParserInput -> Tree<'?9237>
Type parameters: '?9237
findVertices gss state
Signature: gss:GSS -> state:int<MeasureProduct<positionInGrammar,MeasureOne>> -> seq<GSSVertex>
getAllRangesForStartState parser input
Signature: parser:ParserSourceGLL -> input:IParserInput -> seq<int<MeasureProduct<positionInInput,MeasureOne>> * int<MeasureProduct<positionInInput,MeasureOne>>>
getAllRangesForStartStateWithLength (...)
Signature: parser:ParserSourceGLL -> input:IParserInput -> seq<int<MeasureProduct<positionInInput,MeasureOne>> * int<MeasureProduct<positionInInput,MeasureOne>> * uint16>
getAllRangesForState gss state
Signature: gss:GSS -> state:int<MeasureProduct<positionInGrammar,MeasureOne>> -> seq<int<MeasureProduct<positionInInput,MeasureOne>> * int<MeasureProduct<positionInInput,MeasureOne>>>
getAllRangesForStateWithLength gss state
Signature: gss:GSS -> state:int<MeasureProduct<positionInGrammar,MeasureOne>> -> seq<int<MeasureProduct<positionInInput,MeasureOne>> * int<MeasureProduct<positionInInput,MeasureOne>> * uint16>
getAllSPPFRoots parser input
Signature: parser:ParserSourceGLL -> input:IParserInput -> Tree<'?9239> []
Type parameters: '?9239
getGSS parser input
Signature: parser:ParserSourceGLL -> input:IParserInput -> GSS
isParsed parser input
Signature: parser:ParserSourceGLL -> input:LinearInput -> bool
parse parser input buildTree
Signature: parser:ParserSourceGLL -> input:IParserInput -> buildTree:bool -> GSS * SPPF * Tree<'?9234> option
Type parameters: '?9234
summLengths len1 len2
Signature: len1:ParseData -> len2:ParseData -> ParseData
unpackNode _arg1
Signature: _arg1:ParseData -> int<MeasureProduct<nodeMeasure,MeasureOne>>
Fork me on GitHub