示例#1
0
 public ECustomFunction(EWord name, ETypeWord type, EProgram program, ETypeNameKey[] arguments)
 {
     this.name      = name;
     this.type      = type;
     this.arguments = arguments;
     this.program   = program;
 }
示例#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);
 }
示例#3
0
 public ECustomFunction(EWord name, ETypeWord type, EProgram program) : this(name, type, program, new ETypeNameKey[] { })
 {
 }
示例#4
0
 public ESCall(EWord callFunc, ESExpression[] arguments)
 {
     this.callFunc  = callFunc;
     this.arguments = arguments.Select(arg => new ESolvable(arg)).ToArray();
 }
示例#5
0
 public EGlobalFunction(EWord name, ETypeWord type, Func <EScope, ESolvable[], EVariable> func)
 {
     this.name = name;
     this.type = type;
     this.func = func;
 }
示例#6
0
 public EAssignOperation(EWord variable, ESolvable value)
 {
     this.variable = variable;
     this.value    = value;
 }
示例#7
0
 public ETypeNameKey(EWord name, ETypeWord type)
 {
     variable  = name;
     this.type = type;
 }