declare<A extends AST> function
A
declare<A extends AST>(
- A ast
Declare an AST element in the current context, for most AST elements this is not necessary as they are automatically declared when constructed.
Implementation
A declare<A extends AST>(A ast) => currentContext.declare(ast);