Keyword constructor

const Keyword(
  1. String lexeme,
  2. String name,
  3. {bool isBuiltIn = false,
  4. bool isModifier = false,
  5. bool isPseudo = false,
  6. bool isTopLevelKeyword = false,
  7. int precedence = NO_PRECEDENCE}
)

Initialize a newly created keyword.

Implementation

const Keyword(String lexeme, String name,
    {this.isBuiltIn: false,
    bool isModifier: false,
    this.isPseudo: false,
    bool isTopLevelKeyword: false,
    int precedence: NO_PRECEDENCE})
    : super(lexeme, name, precedence, KEYWORD_TOKEN,
          isModifier: isModifier, isTopLevelKeyword: isTopLevelKeyword);