public abstract class Declaration extends java.lang.Object implements IDeclaration
IDeclaration.| Constructor and Description |
|---|
Declaration(java.lang.Object declarationContext) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getDeclarationContext()
An optional declaration context.
|
boolean |
isBlock()
true if this declaration has child elements itself. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptpublic java.lang.Object getDeclarationContext()
IDeclarationIFunctorCall later and has parsed some
declarations on startup.getDeclarationContext in interface IDeclarationpublic boolean isBlock()
IDeclarationtrue if this declaration has child elements itself.
A IDeclarationElement may be a IDeclarationBlock,
supporting nested declarations. You should not use "instanceof
IDeclarationBlock" to check this behavior but this method.
isBlock in interface IDeclarationtrue if this declaration has child elements
itself.