Evaluates a constant expression and returns its value.
The AST expression to evaluate.
The evaluated constant value, or undefined if evaluation fails.
Evaluates a constant expression and returns its value.