TokenType constructor
      const
      TokenType(
    
    
- int index,
- String lexeme,
- String name,
- int precedence,
- int kind, {
- TokenType? binaryOperatorOfCompoundAssignment,
- bool isBinaryOperator = false,
- bool isModifier = false,
- bool isOperator = false,
- bool isTopLevelKeyword = false,
- bool isUserDefinableOperator = false,
- bool stringValueShouldBeNull = false,
Implementation
const TokenType(
  this.index,
  this.lexeme,
  this.name,
  this.precedence,
  this.kind, {
  this.binaryOperatorOfCompoundAssignment,
  this.isBinaryOperator = false,
  this.isModifier = false,
  this.isOperator = false,
  this.isTopLevelKeyword = false,
  this.isUserDefinableOperator = false,
  bool stringValueShouldBeNull = false,
}) : this.stringValue = stringValueShouldBeNull ? null : lexeme;