varUsage method

bool varUsage(
  1. int ch
)

Implementation

bool varUsage(int ch) =>
    ch == 'v'.codeUnitAt(0) &&
    _maybeEatChar('a'.codeUnitAt(0)) &&
    _maybeEatChar('r'.codeUnitAt(0)) &&
    (_peekChar() == '-'.codeUnitAt(0));