MCPcopy
hub / github.com/uber/aresdb / NewQueryContext

Function NewQueryContext

query/sql/antlrgen/sqlbase_parser.go:887–896  ·  view source on GitHub ↗
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)

Source from the content-addressed store, hash-verified

885func (*QueryContext) IsQueryContext() {}
886
887func NewQueryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QueryContext {
888 var p = new(QueryContext)
889
890 p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
891
892 p.parser = parser
893 p.RuleIndex = SqlBaseParserRULE_query
894
895 return p
896}
897
898func (s *QueryContext) GetParser() antlr.Parser { return s.parser }
899

Callers 1

QueryMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected