evaluateExpressionString

Tries to evaluate an expression if it evaluates to a string.

  1. string evaluateExpressionString(PrimaryExpression expr)
  2. string evaluateExpressionString(UnaryExpression expr)
  3. string evaluateExpressionString(ExpressionNode expr)
    string
    evaluateExpressionString
    (
    const ExpressionNode expr
    )
  4. string evaluateExpressionString(Token token)

Return Value

Type: string

null if the resulting value is not a string or could not be evaluated.

Meta