예제 #1
0
 public FunctionLiteral(Token token, List <Identifier> parameters, BlockStatement body)
 {
     Token      = token;
     Parameters = parameters;
     Body       = body;
 }
예제 #2
0
 public MonkeyFunction(List <Identifier> parameters, BlockStatement body, MonkeyEnvironment env)
 {
     Parameters = parameters;
     Body       = body;
     Env        = env;
 }