add Value Declaration
THe value declarations are only set in the ast node if the handler of the ast node may not know the outer
Parameters
value Declaration
the ValueDeclaration
add To AST
whether to also add the declaration to the AST of its holder.