public class CodeBlock extends SrcOp
| Modifier and Type | Field and Description |
|---|---|
int |
codeBlockLevel
|
<any> |
locals
|
List |
ops
|
List |
preamble
|
int |
treeLevel
|
enclosingBlock, enclosingRuleRunction, uniqueIDast, factory| Constructor and Description |
|---|
CodeBlock(OutputModelFactory
|
CodeBlock(OutputModelFactory
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLocalDecl(Decl
Add local var decl
|
void |
addOp(SrcOp
|
void |
addOps(List
|
void |
addPreambleOp(SrcOp
|
void |
insertOp(int i, SrcOp
|
getContextName, getOuterMostAltCodeBlockpublic int codeBlockLevel
public int treeLevel
public <any> locals
public CodeBlock(OutputModelFactoryfactory)
public CodeBlock(OutputModelFactoryfactory, int treeLevel, int codeBlockLevel)