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

Method tryResolve

parser/parser.go:180–205  ·  view source on GitHub ↗

If x is an identifier, tryResolve attempts to resolve x by looking up the object it denotes. If no object is found and collectUnresolved is set, x is marked as unresolved and collected in the list of unresolved identifiers.

(x ast.Expr, collectUnresolved bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

resolveMethod · 0.95
parseElementMethod · 0.95

Calls 2

assertFunction · 0.85
LookupMethod · 0.80

Tested by

no test coverage detected