|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.dom.ASTNode
org.eclipse.jdt.core.dom.Statement
org.eclipse.jdt.core.dom.Block
public class Block
Block statement AST node type.
Block: { { Statement } }
Field Summary | |
---|---|
static ChildListPropertyDescriptor |
STATEMENTS_PROPERTY
The "statements" structural property of this node type (element type: Statement ). |
Method Summary | |
---|---|
static List |
propertyDescriptors(int apiLevel)
Returns a list of structural property descriptors for this node type. |
List |
statements()
Returns the live list of statements in this block. |
Methods inherited from class org.eclipse.jdt.core.dom.Statement |
---|
getLeadingComment, setLeadingComment |
Methods inherited from class org.eclipse.jdt.core.dom.ASTNode |
---|
accept, copySubtree, copySubtrees, delete, equals, getAST, getFlags, getLength, getLocationInParent, getNodeType, getParent, getProperty, getRoot, getStartPosition, getStructuralProperty, hashCode, nodeClassForType, properties, setFlags, setProperty, setSourceRange, setStructuralProperty, structuralPropertiesForType, subtreeBytes, subtreeMatch, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ChildListPropertyDescriptor STATEMENTS_PROPERTY
Statement
).
Method Detail |
---|
public static List propertyDescriptors(int apiLevel)
apiLevel
- the API level; one of the
AST.JLS*
constants
StructuralPropertyDescriptor
)public List statements()
Statement
s;
attempts to add any other type of node will trigger an
exception.
Statement
)
|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.