public ESSymbol getMethodProtocol(ESObjectSpace objectSpace) { return(SpecifiesMethodProtocol ? objectSpace.symbolFor(MethodProtocol) : objectSpace.symbolFor("unspecified")); }
public NamespaceObject getEnvironment(ESObjectSpace objectSpace) { return(SpecifiesEnvironmentName ? objectSpace.findOrCreateNamespace(EnvironmentName) : objectSpace.SmalltalkNamespace); }
public ESCompiler(ESObjectSpace objectSpace, TextReader sourceStream, ParsingOptions parsingOptions) : this(objectSpace, new ESParser(sourceStream, parsingOptions)) { }
public ESCompiler(ESObjectSpace objectSpace, ESParser parser) { this.objectSpace = objectSpace; Parser = parser; }
public ESCompiler(ESObjectSpace objectSpace, TextReader sourceStream) : this(objectSpace, sourceStream, SyntaxProfile.Essence) { }
public ESCompiler(ESObjectSpace objectSpace, TextReader sourceStream, SyntaxProfile syntaxProfile) : this(objectSpace, new ESParser(sourceStream, syntaxProfile)) { }
public ESLibraryLoader(ESObjectSpace objectSpace, NamespaceObject baseEnvironment, DirectoryInfo baseDirectory, bool recurseIntoNestedNamespaces) : this(objectSpace, baseDirectory, recurseIntoNestedNamespaces) { this.baseEnvironment = baseEnvironment ?? objectSpace.RootNamespace; }
public ESMethodScriptCode(SourceUnit sourceUnit, ESObjectSpace objectSpace, ESCompilerOptions esCompilerOptions, ErrorSink errorSink) : base(sourceUnit, objectSpace, esCompilerOptions, errorSink) { messageReceiver = esCompilerOptions.Receiver; }
public ESLibraryLoader(ESObjectSpace objectSpace, DirectoryInfo baseDirectory) : this(objectSpace) { this.baseDirectory = baseDirectory; }
public ESLibraryLoader(ESObjectSpace objectSpace, DirectoryInfo baseDirectory, bool recurseIntoNestedNamespaces) : this(objectSpace, baseDirectory) { this.baseDirectory = baseDirectory; this.recurseIntoNestedNamespaces = recurseIntoNestedNamespaces; }
public ESLibraryLoader(ESObjectSpace objectSpace) { this.objectSpace = objectSpace; baseEnvironment = objectSpace.RootNamespace; }
public ClassFactory(ESObjectSpace objectSpace, NamespaceObject baseEnvironment, ESSymbol name, IDictionary <String, List <ESCompilationError> > compilationErrors) : base(objectSpace, baseEnvironment, name, compilationErrors) { }
public CodeGenerationContext(ESCompiler compiler) { identityExpression = Expression.Constant(identity); objectSpace = compiler.ObjectSpace; bindToKernel(); }
public EssenceSharpContext(ScriptDomainManager manager, Dictionary <String, Object> optionsDictionary) : base(manager) { objectSpace = new ESObjectSpace(); bindToLanguageOptions(optionsDictionary ?? new Dictionary <String, Object>()); librariesLoaded = ObjectSpace.ensureStartUp(options.LibraryNames, options.LoadLibrariesVerbosely, options.ReportTimings); }
protected BehavioralObjectFactory(ESObjectSpace objectSpace, NamespaceObject baseEnvironment, ESSymbol name, IDictionary <String, List <ESCompilationError> > compilationErrors) : base(objectSpace, baseEnvironment, name, compilationErrors) { }
public override void Shutdown() { base.Shutdown(); objectSpace = null; }
public ESBlockScriptCode(SourceUnit sourceUnit, ESObjectSpace objectSpace, ESCompilerOptions esCompilerOptions, ErrorSink errorSink) : base(sourceUnit, objectSpace, esCompilerOptions, errorSink) { }