addValueDeclaration

fun addValueDeclaration(valueDeclaration: ValueDeclaration, addToAST: Boolean)

THe value declarations are only set in the ast node if the handler of the ast node may not know the outer

Parameters

valueDeclaration
addToAST

whether to also add the declaration to the AST of its holder.