コード例 #1
0
ファイル: Formals.cs プロジェクト: nguerrera/scheme
 public Formals(IList<Variable> parameters, Variable restParameter)
 {
     if (parameters == null) throw new ArgumentNullException("parameters");
     this.parameters = new ReadOnlyCollection<Variable>(parameters);
     this.restParameter = restParameter;
 }
コード例 #2
0
ファイル: SchemeEnvironment.cs プロジェクト: nguerrera/scheme
 public void Add(Variable key, SchemeObject value)
 {
     Add(key.Symbol, value);
 }
コード例 #3
0
ファイル: Assignment.cs プロジェクト: nguerrera/scheme
 public Assignment(Variable destination, Expression source, bool isDefinition)
 {
     this.destination = destination;
     this.source = source;
     this.isDefinition = isDefinition;
 }