ExpressionParser constructor

ExpressionParser(
  1. List<ExpressionToken> tokens, {
  2. ExpressionScope scope = const ExpressionScope(),
  3. ExpressionSyntax syntax = ExpressionSyntax.standard,
})

A parser at the first of tokens, which must end with a token of kind end, reading names in scope and tokens by syntax.

Implementation

ExpressionParser(
  this.tokens, {
  this.scope = const ExpressionScope(),
  this.syntax = ExpressionSyntax.standard,
});