| Modifier and Type | Field and Description |
|---|---|
| private CompilationContext | |
| private ScopeInfo | |
| private int | |
| private int | |
| private Hashtable | |
| private Stack |
| Access | Constructor and Description |
|---|---|
| public |
| code_compiler | back to summary |
|---|---|
| private CompilationContext code_compiler | |
| cur | back to summary |
|---|---|
| private ScopeInfo cur | |
| func_level | back to summary |
|---|---|
| private int func_level | |
| level | back to summary |
|---|---|
| private int level | |
| nodeScopes | back to summary |
|---|---|
| private Hashtable<PythonTree, ScopeInfo> nodeScopes | |
| scopes | back to summary |
|---|---|
| private Stack<ScopeInfo> scopes | |
| ScopesCompiler | back to summary |
|---|---|
| public ScopesCompiler(CompilationContext code_compiler, Hashtable<PythonTree, ScopeInfo> nodeScopes) | |
| beginScope | back to summary |
|---|---|
| public void beginScope(String name, int kind, PythonTree node, ArgListCompiler ac) | |
| def | back to summary |
|---|---|
| private void def(String name) | |
| endScope | back to summary |
|---|---|
| public void endScope() throws Exception | |
| parse | back to summary |
|---|---|
| public void parse(PythonTree node) throws Exception | |
| suite | back to summary |
|---|---|
| public void suite(List<stmt> stmts) throws Exception | |
| visitClassDef | back to summary |
|---|---|
| public Object visitClassDef(ClassDef node) throws Exception Overrides org. Implements org.
| |
| visitDictComp | back to summary |
|---|---|
| public Object visitDictComp(DictComp node) throws Exception Overrides org. Implements org.
| |
| visitExec | back to summary |
|---|---|
| public Object visitExec(Exec node) throws Exception Overrides org. Implements org.
| |
| visitExpression | back to summary |
|---|---|
| public Object visitExpression(Expression node) throws Exception Overrides org. Implements org.
| |
| visitFunctionDef | back to summary |
|---|---|
| public Object visitFunctionDef(FunctionDef node) throws Exception Overrides org. Implements org.
| |
| visitGeneratorExp | back to summary |
|---|---|
| public Object visitGeneratorExp(GeneratorExp node) throws Exception Overrides org. Implements org.
| |
| visitGlobal | back to summary |
|---|---|
| public Object visitGlobal(Global node) throws Exception Overrides org. Implements org.
| |
| visitImport | back to summary |
|---|---|
| public Object visitImport(Import node) throws Exception Overrides org. Implements org.
| |
| visitImportFrom | back to summary |
|---|---|
| public Object visitImportFrom(ImportFrom node) throws Exception Overrides org. Implements org.
| |
| visitInteractive | back to summary |
|---|---|
| public Object visitInteractive(Interactive node) throws Exception Overrides org. Implements org.
| |
| visitInternalGenerators | back to summary |
|---|---|
| private Object visitInternalGenerators(expr node, expr elt, List<comprehension> generators) throws Exception | |
| visitLambda | back to summary |
|---|---|
| public Object visitLambda(Lambda node) throws Exception Overrides org. Implements org.
| |
| visitListComp | back to summary |
|---|---|
| public Object visitListComp(ListComp node) throws Exception Overrides org. Implements org.
| |
| visitModule | back to summary |
|---|---|
| public Object visitModule(Module node) throws Exception Overrides org. Implements org.
| |
| visitName | back to summary |
|---|---|
| public Object visitName(Name node) throws Exception Overrides org. Implements org.
| |
| visitReturn | back to summary |
|---|---|
| public Object visitReturn(Return node) throws Exception Overrides org. Implements org.
| |
| visitSetComp | back to summary |
|---|---|
| public Object visitSetComp(SetComp node) throws Exception Overrides org. Implements org.
| |
| visitWith | back to summary |
|---|---|
| public Object visitWith(With node) throws Exception Overrides org. Implements org.
| |
| visitYield | back to summary |
|---|---|
| public Object visitYield(Yield node) throws Exception Overrides org. Implements org.
| |