Function
NewCommandContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
Source from the content-addressed store, hash-verified
| 559 | func (*CommandContext) IsCommandContext() {} |
| 560 | |
| 561 | func NewCommandContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandContext { |
| 562 | var p = new(CommandContext) |
| 563 | |
| 564 | antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState) |
| 565 | |
| 566 | p.parser = parser |
| 567 | p.RuleIndex = CommandsParserRULE_command |
| 568 | |
| 569 | return p |
| 570 | } |
| 571 | |
| 572 | func (s *CommandContext) GetParser() antlr.Parser { return s.parser } |
| 573 | |
Tested by
no test coverage detected