public TextFungeParser() { parser = new GOLD.Parser(); LoadTables(new BinaryReader(new MemoryStream(GetGrammar()))); }
public CookV5Parser(GOLD.Parser parser) { // initialization of the GOLD parser from Resource tables is framework-dependent this.parser = parser; }
public SourceCodePosition(GOLD.Parser p) { this.Line = p.CurrentPosition().Line + 1; this.Column = p.CurrentPosition().Column; }