currentToken property

Token get currentToken
inherited

Match needs to return the current input symbol, which gets put into the label for the associated token ref; e.g., x=ID.

Implementation

Token get currentToken {
  return _input.LT(1)!;
}