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

Method parseMember

parser/pratt_parser.go:569–574  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

567}
568
569func (p *prattParserWorker) parseMember() ast.Expr {
570 p.lastParsedDepth = 0
571 canBeStructName := false
572 lhs := p.parsePrimary(&canBeStructName)
573 return p.parseSelectorChainTail(lhs, canBeStructName, p.lastParsedDepth)
574}
575
576// parseSelectorChainTail parses the field selections, member calls, indexes and struct
577// creations following lhs, which is lhsDepth deep, and leaves the depth of the resulting

Callers 2

parseSelectorChainMethod · 0.95
parseUnaryOpsMethod · 0.95

Calls 2

parsePrimaryMethod · 0.95

Tested by

no test coverage detected