[Java] Class BreakStatement
- org.codehaus.groovy.ast.stmt.BreakStatement
public class BreakStatement extends Statement
Represents a break statement in a switch or loop statement
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 Summary
Constructor and description |
---|
BreakStatement
() |
BreakStatement
(String label) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public String |
getLabel() | |
public void |
visit(GroovyCodeVisitor visitor) |
Inherited Methods Summary
Constructor Detail
public BreakStatement()
public BreakStatement(String label)
Method Detail
public String getLabel()
public void visit(GroovyCodeVisitor visitor)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/ast/stmt/BreakStatement.html