defineSymbol method

void defineSymbol(
  1. String name,
  2. TypedElement type
)

Defines a name in the environment with the passed value.

Implementation

void defineSymbol(String name, TypedElement type) {
  // TODO(mateusfccp): Consider when we want to allow shadowing or not
  _definedSymbols[name] = type;
}