public abstract class Declaration extends Object implements IDeclaration
IDeclaration.| Constructor and Description |
|---|
Declaration(Object declarationContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDeclarationContext()
An optional declaration context.
|
boolean |
isBlock()
true if this declaration has child elements itself. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopypublic Declaration(Object declarationContext)
public 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.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.