| java.lang.Object com.go.tea.parsetree.Node com.go.tea.parsetree.Statement
All known Subclasses: com.go.tea.parsetree.IfStatement, com.go.tea.parsetree.StatementList, com.go.tea.parsetree.ReturnStatement, com.go.tea.parsetree.SubstitutionStatement, com.go.tea.parsetree.ExpressionStatement, com.go.tea.parsetree.ForeachStatement, com.go.tea.parsetree.ExceptionGuardStatement, com.go.tea.parsetree.BreakStatement, com.go.tea.parsetree.AssignmentStatement,
Statement | public class Statement extends Node (Code) | | A Statement represents a stand-alone unit of code. The default Statement
implements the empty statement, represented by a semi-colon ';' in a
source file. A Parser usually strips most empty statements out.
author: Brian S O'Neill version: 22 , 5/31/01 |
Method Summary | |
public Object | accept(NodeVisitor visitor) | public boolean | isBreak() Returns true if Statement 'breaks' during its execution. | public boolean | isReturn() Returns true if Statement definitely returns from its method either
from a return statement or a throw statement. |
isBreak | public boolean isBreak()(Code) | | Returns true if Statement 'breaks' during its execution.
|
isReturn | public boolean isReturn()(Code) | | Returns true if Statement definitely returns from its method either
from a return statement or a throw statement.
|
|
|