text property

String get text
inherited

Return the text matched so far for the current token or any text override.

Implementation

String get text {
  if (_text != null) {
    return _text!;
  }
  return interpreter!.getText(_input);
}
set text (String text)
inherited

Set the complete text of this token; it wipes any previous changes to the text.

Implementation

set text(String text) {
  _text = text;
}