Construct a new visitor for an ExpressionStatement inside the AST.
Parent context containing the expression statement to be visited.
Optionalmutables: VisitorContextLocal context inside arrow functions and array comprehensions.
Parent context containing a particular expression statement.
Get the root context with the current values of the root pitch, ups, lifts, etc.
Set the root context with the current values of the root pitch, ups, lifts, etc.
Warning: Modifies parent context!
ProtectedbinaryProtectedcomprehendProtecteddownGet the value of a variable in the current context.
Name of the variable.
Value of the variable.
Invoke intrinsic behavior associated with SonicWeave values.
The callee.
The caller.
The return value of the intrinsic call.
ProtectedintrinsicProtectedintrinsicProtectedintrinsicProtectedintrinsicProtectedintrinsicProtectedintrinsicAssign arguments to their corresponding parameter(s) in the current context.
Name(s) of the parameters and their default values.
Optionalarg: SonicWeaveValueThe argument/value to assign to the local variables.
ProtectedmatrixProtectedprojectSet the value of a variable in the current context.
Name of the variable.
Value for the variable.
Optionalamount: numberProtectedspreadProtectedtensorProtectedunaryProtectedupdateProtectedupProtectedvectorVisit a node in the abstract syntax tree and evaluate to a value.
The AST node of the expression to evaluate.
The result of evaluation.
ProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitConstruct a square-superparticular from an AST node.
AST node defining the S-expression.
The square-superparticular or a product of a range of them as a logarithmic interval.
ProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisitProtectedvisit
Abstract syntax tree visitor for SonicWeave expressions.