forked from jasder/antlr
a piece of another branch snuck in! del.
This commit is contained in:
parent
90d753b08a
commit
3a48085f90
|
@ -766,7 +766,7 @@ CaptureNextToken(d) ::= "<d.varName> = _input.LT(1);"
|
|||
CaptureNextTokenType(d) ::= "<d.varName> = _input.LA(1);"
|
||||
|
||||
StructDecl(struct,ctorAttrs,attrs,getters,dispatchMethods,interfaces,extensionMembers) ::= <<
|
||||
public static class <struct.name> extends <if(contextSuperClass)><contextSuperClass><else>ParserRuleContext<endif><if(interfaces)> implements <interfaces; separator=", "><endif> {
|
||||
public static class <struct.name> extends ParserRuleContext implements <interfaces; separator=", "><endif> {
|
||||
<attrs:{a | public <a>;}; separator="\n">
|
||||
<getters:{g | <g>}; separator="\n">
|
||||
<if(ctorAttrs)>public <struct.name>(ParserRuleContext parent, int invokingState) { super(parent, invokingState); }<endif>
|
||||
|
|
Loading…
Reference in New Issue