DeclarativeSymbolResolver

data class DeclarativeSymbolResolver(val issues: MutableList<Issue> = mutableListOf()) : LocalSymbolResolver

Constructors

Link copied to clipboard
constructor(issues: MutableList<Issue> = mutableListOf())

Functions

Link copied to clipboard
fun getScope(property: ReferenceByNameProperty, context: Node): Scope?
Link copied to clipboard
fun resolveNode(node: Node, children: Boolean = false)
Link copied to clipboard
Link copied to clipboard
open override fun resolveSymbols(root: Node): List<Issue>

This will resolve symbols on the given AST. It will set the links in the ReferenceByName found. It will return a list of issues encountered during symbol resolution.

Link copied to clipboard
inline fun <ContextType : Node> scopeFor(nodeType: KClass<*>, crossinline scopeFunction: (ContextType) -> Scope?)
inline fun <ContextType : Node> scopeFor(reference: ReferenceByNameProperty, crossinline scopeDefinition: (ContextType) -> Scope?)

Properties