MCPcopy Create free account
hub / github.com/alaingilbert/agl / parseBinaryExpr

Method parseBinaryExpr

pkg/parser/parser.go:2377–2404  ·  view source on GitHub ↗

parseBinaryExpr parses a (possibly) binary expression. If x is non-nil, it is used as the left operand. TODO(rfindley): parseBinaryExpr has become overloaded. Consider refactoring.

(x ast.Expr, prec1 int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

parseExprMethod · 0.95
parseTypeSpecMethod · 0.95

Calls 6

parseUnaryExprMethod · 0.95
tokPrecMethod · 0.95
expectMethod · 0.95
unFunction · 0.85
traceFunction · 0.85
incNestLevFunction · 0.85

Tested by

no test coverage detected