|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.stmt.Statement
org.codehaus.groovy.classgen.BytecodeSequence
public class BytecodeSequence extends Statement
This class represents a sequence of BytecodeInstructions or ASTNodes. The evaluation is depending on the type of the visitor.
| Constructor Summary | |
BytecodeSequence(java.util.List instructions)
|
|
BytecodeSequence(BytecodeInstruction instruction)
|
|
| Method Summary | |
|---|---|
java.util.List
|
getInstructions()
|
void
|
visit(GroovyCodeVisitor visitor)
Delegates to the visit method used for this class. |
| Methods inherited from class Statement | |
|---|---|
| getStatementLabel, isEmpty, setStatementLabel |
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Constructor Detail |
|---|
public BytecodeSequence(java.util.List instructions)
public BytecodeSequence(BytecodeInstruction instruction)
| Method Detail |
|---|
public java.util.List getInstructions()
public void visit(GroovyCodeVisitor visitor)
visitor - the visitor
Groovy Documentation