public EnkelFunction(FunctionStatement declaration, IEnkelEnvironment closure, bool isConstructor) { _declaration = declaration; _closure = closure; _isConstructor = isConstructor; }
private EnkelEnvironment(Dictionary <string, object> identifiers) { _outerEnvironment = null; _identifiers = identifiers; }
public EnkelInterpreter() { _globals = EnkelEnvironment.GlobalEnvironment; _environment = _globals; }
public EnkelEnvironment(IEnkelEnvironment outerEnvironment) { _outerEnvironment = outerEnvironment; }