forked from jasder/antlr
Cleanup
This commit is contained in:
parent
b2ee7fe532
commit
e891d55f1b
|
@ -2,8 +2,6 @@ fileHeader(grammarFileName, ANTLRVersion) ::= <<
|
|||
// Generated from <grammarFileName; format="java-escape"> by ANTLR <ANTLRVersion>
|
||||
>>
|
||||
|
||||
// args must be <object-model-object>, <fields-resulting-in-STs>
|
||||
|
||||
ParserFile(file, parser, namedActions) ::= <<
|
||||
<fileHeader(file.grammarFileName, file.ANTLRVersion)>
|
||||
package parser // <file.grammarName>
|
||||
|
@ -114,7 +112,7 @@ func (v *Base<file.grammarName>Visitor) Visit<lname; format="cap">(ctx *<lname;
|
|||
Parser(parser, funcs, atn, sempredFuncs, superClass) ::= <<
|
||||
|
||||
<if(superClass)>
|
||||
// TODO var <superClass> = require('./<superClass>').<superClass>
|
||||
import ( "./<superClass>" )
|
||||
<endif>
|
||||
|
||||
var parserATN = <atn>
|
||||
|
|
Loading…
Reference in New Issue