Package: org.codehaus.groovy.ast.stmt

## [Java] Class BreakStatement

- org.codehaus.groovy.ast.stmt.BreakStatement

- Represents a break statement in a switch or loop statement

  Authors:
    James Strachan

- - ### Constructor Summary

    Constructors
    Constructor and description
    `BreakStatement ()`
    `BreakStatement (String label)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `String` | `getLabel()`
    `` | `void` | `visit(GroovyCodeVisitor visitor)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Statement` | `addStatementLabel, getStatementLabel, getStatementLabels, isEmpty, setStatementLabel`
    `class ASTNode` | `copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getNodeMetaData, getText, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition, visit`
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### public BreakStatement()

    - #### public BreakStatement(String label)

  - ### Method Detail

    - #### public String getLabel()

    - #### public void visit(GroovyCodeVisitor visitor)