- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for parsePrimaryExpr (0.11 sec)
-
src/go/parser/parser.go
if p.tok != token.LBRACK { // To parse the expression starting with name, expand // the call sequence we would get by passing in name // to parser.expr, and pass in name to parsePrimaryExpr. p.exprLev++ lhs := p.parsePrimaryExpr(x) x = p.parseBinaryExpr(lhs, token.LowestPrec+1) p.exprLev-- } // Analyze expression x. If we can split x into a type parameter
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
src/go/printer/testdata/parser.go
} } // all other nodes are expressions or types return x } // If lhs is set and the result is an identifier, it is not resolved. func (p *parser) parsePrimaryExpr(lhs bool) ast.Expr { if p.trace { defer un(trace(p, "PrimaryExpr")) } x := p.parseOperand(lhs) L: for { switch p.tok { case token.PERIOD: p.next() if lhs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0)