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

Function NewSetOperationContext

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

Source from the content-addressed store, hash-verified

1438}
1439
1440func NewSetOperationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SetOperationContext {
1441 var p = new(SetOperationContext)
1442
1443 p.QueryTermContext = NewEmptyQueryTermContext()
1444 p.parser = parser
1445 p.CopyFrom(ctx.(*QueryTermContext))
1446
1447 return p
1448}
1449
1450func (s *SetOperationContext) GetOperator() antlr.Token { return s.operator }
1451

Callers 1

queryTermMethod · 0.85

Calls 2

NewEmptyQueryTermContextFunction · 0.85
CopyFromMethod · 0.45

Tested by

no test coverage detected