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