|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.tools.functor.Declaration
public abstract class Declaration
A common superclass for implementing IDeclaration
.
Constructor Summary | |
---|---|
Declaration(java.lang.Object declarationContext)
|
Method Summary | |
---|---|
java.lang.Object |
getDeclarationContext()
An optional declaration context. |
boolean |
isBlock()
true if this declaration has child elements itself. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.intarsys.tools.functor.IDeclaration |
---|
accept |
Constructor Detail |
---|
public Declaration(java.lang.Object declarationContext)
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |