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