public ASTGenerator(ESCompiler esCompiler, CodeGenerationContext context) { this.compiler = esCompiler; this.context = context; bindToCompiler(); }
protected void popContext() { context = contextStack[0]; contextStack.RemoveAt(0); }
public NameBindingScope(CodeGenerationContext context, NameBindingScope outerScope) : this(context) { this.outerScope = outerScope; }
protected void pushContext() { contextStack.Add(context); context = compiler.newCodeGenerationContext(); }
public NameBindingScope(CodeGenerationContext context) { this.context = context; }