Package: org.codehaus.groovy.ast.stmt

## [Java] Class BreakStatement

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

-     public class BreakStatement
      extends Statement

  Represents a break statement in a switch or loop statement

- - ### Constructor Summary

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

  - ### Methods Summary

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

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Statement` | `addStatementLabel, copyStatementLabels, getStatementLabel, getStatementLabels, isEmpty, setStatementLabel`
    `class ASTNode` | `copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit`

- - ### Constructor Detail

    - #### public BreakStatement()

    - #### public BreakStatement(String label)

  - ### Method Detail

    - #### public String getLabel()

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