[Java] Class Statement
- org.codehaus.groovy.ast.stmt.Statement
Base class for any statement
Properties Summary
Type | Name and description |
---|---|
String |
statementLabel |
Constructor Summary
Constructor and description |
---|
Statement
() |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
void |
addStatementLabel(String label) | |
String |
getStatementLabel() | |
List<String> |
getStatementLabels() | |
boolean |
isEmpty() | |
void |
setStatementLabel(String label) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class ASTNode | copyNodeMetaData, equals, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getNodeMetaData, getNodeMetaData, getText, hashCode, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition, visit |
Property Detail
String statementLabel
Constructor Detail
public Statement()
Method Detail
public void addStatementLabel(String label)
public String getStatementLabel()
public List<String> getStatementLabels()
public boolean isEmpty()
public void setStatementLabel(String label)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/ast/stmt/Statement.html