The Urn Logo

compiler/resolve

active-module

Native defined at lib/compiler/resolve.lisp:11:1

Get the module of the node currently being resolved.

active-node

Native defined at lib/compiler/resolve.lisp:3:1

Get the node currently being resolved.

active-scope

Native defined at lib/compiler/resolve.lisp:7:1

Get the scope of the node currently being resolved.

(reify x)

Defined at lib/compiler/resolve.lisp:65:2

Return the definition of the symbol (not variable) X, returning nil if it’s not a top-level definition.

scope-exported

Native defined at lib/compiler/resolve.lisp:20:1

Fetch the variables exported in the given SCOPE, using the active-scope if none is given.

scope-vars

Native defined at lib/compiler/resolve.lisp:15:1

Fetch the variables present in the given SCOPE, using the active-scope if none is given.

try-var-lookup

Native defined at lib/compiler/resolve.lisp:34:1

Try to look up SYMBOL in the given SCOPE, using the active-scope if none given.

If this variable hasn’t been defined yet then this will return nil.

var-definition

Native defined at lib/compiler/resolve.lisp:42:1

Get the definition of the given VARIABLE, returning nil if it is not a top level definition.

Note, if the variable hasn’t been fully built, then this function will yield until it has: do not call this method within another coroutine.

var-docstring

Native defined at lib/compiler/resolve.lisp:60:1

Get the docstring for the given VARIABLE, returning nil if it is not a top level definition.

var-lookup

Native defined at lib/compiler/resolve.lisp:25:1

Look up SYMBOL in the given SCOPE, using the active-scope if none given.

Note, if the variable hasn’t been defined yet, then this function will yield until it has been resolved: do not call this within another coroutine.

var-value

Native defined at lib/compiler/resolve.lisp:51:1

Get the value of the given VARIABLE, returning nil if it is not a top level definition.

Note: if the variable hasn’t been fully built or executed, then this function will yield until it has: do not call this function within another coroutine.