groovy / 2.4.21 / org / codehaus / groovy / ast / stmt / statement.html /

[Java] Class Statement

  • org.codehaus.groovy.ast.stmt.Statement

Base class for any statement

Authors:
James Strachan

Constructor Summary

Constructors
Constructor and description
Statement ()

Methods Summary

Methods
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

Inherited Methods
Methods inherited from class Name
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 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.4.21/html/gapi/org/codehaus/groovy/ast/stmt/Statement.html