Fields inherited from class | Fields |
---|---|
interface Statement |
CLOSE_CURRENT_RESULT, KEEP_CURRENT_RESULT, CLOSE_ALL_RESULTS, SUCCESS_NO_INFO, EXECUTE_FAILED, RETURN_GENERATED_KEYS, NO_GENERATED_KEYS |
Constructor and description |
---|
BytecodeSequence
(List instructions) |
BytecodeSequence
(BytecodeInstruction instruction) |
Type Params | Return Type | Name and description |
---|---|---|
|
List |
getInstructions() |
|
void |
visit(GroovyCodeVisitor visitor) Delegates to the visit method used for this class. |
Delegates to the visit method used for this class. If the visitor is a ClassGenerator, then ClassGenerator.visitBytecodeSequence is called with this instance. If the visitor is no ClassGenerator, then this method will call visit on each ASTNode element sorted by this class. If one element is a BytecodeInstruction, then it will be skipped as it is no ASTNode.
visitor
- the visitorCopyright © 2003-2020 The Apache Software Foundation. All rights reserved.