@yantrix/yantrix-parser v0.4.4 • Docs
Yantrix API / @yantrix/yantrix-parser / YantrixParser
Class: YantrixParser
YantrixParser class for backward compatibility with existing code. Wraps the Langium parser with the same interface as the old Jison parser.
Constructors
new YantrixParser()
ts
new YantrixParser(): YantrixParserReturns
Methods
parse()
ts
parse(input): DocumentParse Yantrix DSL input and return the AST.
Parameters
• input: string
The Yantrix DSL source code
Returns
Document
The parsed Document AST