Skip to content

ParseExpression Method ​

Definition ​

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

AstNode ParseExpression() ​

csharp
AstNode ParseExpression()

Parses a full expression and enforces that all tokens are consumed.

Returns ​

The root AstNode of the parsed expression.

Remarks ​

This is the recommended entry point for callers who want to ensure that there is no trailing junk after a valid expression. If extra tokens are present after the parsed expression, an exception is thrown.