Skip to content

AstEvaluator Class ​

Definition ​

Provides evaluation of an Abstract Syntax Tree exposed as AstNode

  • Namespace: JASE.Expressions
  • Assembly: JASE.Expressions.dll

Constructors ​

NameDescription
AstEvaluator(ISymbolResolver resolver)Creates a new AstEvaluator that uses the specified symbol resolver for variable, type, and function lookups during evaluation.

Methods ​

NameDescription
object Evaluate(AstNode node)Evaluates the specified AST node and returns the resulting value.