MCPcopy Create free account
hub / github.com/cel-expr/cel-go / NewBytesContext

Function NewBytesContext

parser/gen/cel_parser.go:5536–5544  ·  view source on GitHub ↗
(parser antlr.Parser, ctx antlr.ParserRuleContext)

Source from the content-addressed store, hash-verified

5534}
5535
5536func NewBytesContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BytesContext {
5537 var p = new(BytesContext)
5538
5539 InitEmptyLiteralContext(&p.LiteralContext)
5540 p.parser = parser
5541 p.CopyAll(ctx.(*LiteralContext))
5542
5543 return p
5544}
5545
5546func (s *BytesContext) GetTok() antlr.Token { return s.tok }
5547

Callers 1

LiteralMethod · 0.70

Calls 2

InitEmptyLiteralContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected