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, wait
accept
public java.lang.Object getDeclarationContext()
IDeclaration
IFunctorCall
later and has parsed some
declarations on startup.getDeclarationContext
in interface IDeclaration
public boolean isBlock()
IDeclaration
true
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 IDeclaration
true
if this declaration has child elements
itself.