public final class BlockStmt extends Statement implements ScopeAware
| Constructor and Description |
|---|
BlockStmt() |
BlockStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<Statement> stmts) |
BlockStmt(List<Statement> stmts) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
BlockStmt |
clone() |
List<Node> |
getChildren() |
Map<String,List<SymbolDefinition>> |
getMethodDefinitions()
Gets the available methods
|
List<Statement> |
getStmts() |
Map<String,SymbolDefinition> |
getTypeDefinitions()
Gets the available variables
|
Map<String,SymbolDefinition> |
getVariableDefinitions()
Gets the available variables
|
boolean |
removeChild(Node child) |
boolean |
replaceChildNode(Node oldChild,
Node newChild) |
void |
setStmts(List<Statement> stmts) |
getSymbolData, setSymbolDatacheck, clone, clone, contains, diableConstraints, enableConstraints, equals, getBeginColumn, getBeginLine, getCommonAncestor, getConstraints, getData, getEndColumn, getEndLine, getParentNode, getPrettySource, getPrettySource, hashCode, isAncestorOf, isInEqualLocation, isNewNode, isPreviousThan, remove, replaceChildNodeInList, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setConstraints, setData, setEndColumn, setEndLine, toString, updateReferencespublic boolean removeChild(Node child)
removeChild in class Nodepublic List<Node> getChildren()
getChildren in class Statementpublic <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic boolean replaceChildNode(Node oldChild, Node newChild)
replaceChildNode in class Nodepublic BlockStmt clone() throws CloneNotSupportedException
clone in class StatementCloneNotSupportedExceptionpublic Map<String,SymbolDefinition> getVariableDefinitions()
ScopeAwaregetVariableDefinitions in interface ScopeAwarepublic Map<String,List<SymbolDefinition>> getMethodDefinitions()
ScopeAwaregetMethodDefinitions in interface ScopeAwarepublic Map<String,SymbolDefinition> getTypeDefinitions()
ScopeAwaregetTypeDefinitions in interface ScopeAwareCopyright © 2018. All rights reserved.