Esempio n. 1
0
 public ECustomFunction(EWord name, ETypeWord type, EProgram program, ETypeNameKey[] arguments)
 {
     this.name      = name;
     this.type      = type;
     this.arguments = arguments;
     this.program   = program;
 }
Esempio n. 2
0
 public EFunctionOperation(EWord name, ETypeWord type, ETypeNameKey[] arguments, EOperation[] operations)
 {
     this.name      = name;
     this.type      = type;
     this.arguments = arguments;
     program        = new EProgram(operations);
 }
Esempio n. 3
0
 public ECustomFunction(EWord name, ETypeWord type, EProgram program) : this(name, type, program, new ETypeNameKey[] { })
 {
 }
Esempio n. 4
0
 public ESCall(EWord callFunc, ESExpression[] arguments)
 {
     this.callFunc  = callFunc;
     this.arguments = arguments.Select(arg => new ESolvable(arg)).ToArray();
 }
Esempio n. 5
0
 public EGlobalFunction(EWord name, ETypeWord type, Func <EScope, ESolvable[], EVariable> func)
 {
     this.name = name;
     this.type = type;
     this.func = func;
 }
Esempio n. 6
0
 public EAssignOperation(EWord variable, ESolvable value)
 {
     this.variable = variable;
     this.value    = value;
 }
Esempio n. 7
0
 public ETypeNameKey(EWord name, ETypeWord type)
 {
     variable  = name;
     this.type = type;
 }