public void LinkVariable(string name, IVariable v, Location location) => VariableCollection.LinkVariable(name, v, location);
public void DeclareGlobal(string name, Location location) => (_globals ?? (_globals = new VariableCollection())).DeclareVariable(name, null, VariableSource.Locality, location);
public void DeclareVariable(string name, IMember value, VariableSource source, Location location = default) => VariableCollection.DeclareVariable(name, value, source, location);