Skip to content

TryParseExpression Method ​

Definition ​

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

bool TryParseExpression(out AstNode node) ​

csharp
bool TryParseExpression(out AstNode node)

Attempts to parse an expression from the current token stream.

Parameters ​

NameDescription
nodeWhen this method returns true, contains the root AstNode of the parsed expression. When it returns false, this value is set to null.

Returns ​

true if the expression was successfully parsed; otherwise false.