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

Function NewSelectSingleContext

query/sql/antlrgen/sqlbase_parser.go:3310–3318  ·  view source on GitHub ↗
(parser antlr.Parser, ctx antlr.ParserRuleContext)

Source from the content-addressed store, hash-verified

3308}
3309
3310func NewSelectSingleContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SelectSingleContext {
3311 var p = new(SelectSingleContext)
3312
3313 p.SelectItemContext = NewEmptySelectItemContext()
3314 p.parser = parser
3315 p.CopyFrom(ctx.(*SelectItemContext))
3316
3317 return p
3318}
3319
3320func (s *SelectSingleContext) GetRuleContext() antlr.RuleContext {
3321 return s

Callers 1

SelectItemMethod · 0.85

Calls 2

CopyFromMethod · 0.45

Tested by

no test coverage detected