• Preparing search index...
  • The search index is not available
Misti
  • Misti
  • internals/tact/constEval
  • evalExpr

Function evalExpr

  • evalExpr(expr): AstLiteral | undefined
  • Evaluates a constant expression and returns its value.

    Parameters

    • expr: AstExpression

      The AST expression to evaluate.

    Returns AstLiteral | undefined

    The evaluated constant value, or undefined if evaluation fails.

    • Defined in src/internals/tact/constEval.ts:31

Settings

Member Visibility
Misti
  • Loading...

Generated using TypeDoc