MCPcopy Create free account
hub / github.com/DAddYE/igo / checkExprOrType

Method checkExprOrType

parser/parser.go:1507–1521  ·  view source on GitHub ↗

checkExprOrType checks that x is an expression or a type (and not a raw type such as [...]T).

(x ast.Expr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

parsePrimaryExprMethod · 0.95
parseUnaryExprMethod · 0.95
parseRhsOrTypeMethod · 0.95

Calls 4

errorMethod · 0.95
unparenFunction · 0.85
PosMethod · 0.65
EndMethod · 0.65

Tested by

no test coverage detected