public class BytecodeSequence extends Statement
BytecodeInstruction
,
ASTNode
Constructor and Description |
---|
BytecodeSequence(java.util.List instructions) |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getInstructions() |
void |
visit(GroovyCodeVisitor visitor)
Delegates to the visit method used for this class.
|
getStatementLabel, isEmpty, setStatementLabel
getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setSourcePosition
public void visit(GroovyCodeVisitor visitor)
ClassGenerator.visitBytecodeSequence(BytecodeSequence)
is called with this instance. If the visitor is no
ClassGenerator, then this method will call visit on
each ASTNode element sotred by this class. If one
element is a BytecodeInstruction, then it will be skipped
as it is no ASTNode.visit
in class ASTNode
visitor
- the visitorClassGenerator
public java.util.List getInstructions()