define method

void define(
  1. Token name
)

Implementation

void define(Token name) {
  if (scopes.isEmpty) return;
  scopes.peek()[name.lexeme] = true;
}