diff --git a/tool/resources/org/antlr/v4/tool/templates/codegen/Go/Go.stg b/tool/resources/org/antlr/v4/tool/templates/codegen/Go/Go.stg index 22b955df4..1fb7cb71b 100644 --- a/tool/resources/org/antlr/v4/tool/templates/codegen/Go/Go.stg +++ b/tool/resources/org/antlr/v4/tool/templates/codegen/Go/Go.stg @@ -898,7 +898,7 @@ TokenListDecl(t) ::= " []antlr.Token" RuleContextDecl(r) ::= " I " RuleContextListDecl(rdecl) ::= " []I" -AttributeDecl(d) ::= " // TODO = " +AttributeDecl(d) ::= " // TODO = " ContextTokenGetterDecl(t) ::= << () antlr.TerminalNode { @@ -1042,13 +1042,13 @@ Set([]I) }; separator="\n\n"> returns the attribute. -Get() }; separator="\n\n"> +Get() }; separator="\n\n"> sets the attribute. -Set()}; separator="\n\n"> +Set()}; separator="\n\n"> @@ -1073,7 +1073,7 @@ func NewEmpty() * { func (*) Is() {} -func New(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int }>) * { +func New(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int }>) * { var p = new() p.BaseParserRuleContext = Newantlr.NewBaseParserRuleContext(parent, invokingState) @@ -1141,12 +1141,12 @@ func (s *) GetParser() antlr.Parser { return s.parser } -) Get() { return s. \}}; separator="\n\n"> +) Get() { return s. \}}; separator="\n\n"> -) Set(v ) { s. = v \}}; separator="\n\n"> +) Set(v ) { s. = v \}}; separator="\n\n"> @@ -1251,12 +1251,12 @@ func New(parser antlr.Parser, ctx antlr.ParserRuleContext) * -) Get() { return s. \}}; separator="\n\n"> +) Get() { return s. \}}; separator="\n\n"> -) Set(v ) { s. = v \}}; separator="\n\n"> +) Set(v ) { s. = v \}}; separator="\n\n"> func (s *) GetRuleContext() antlr.RuleContext {