|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDeclarationBlock
A group of IDeclarationElement instances.
| Method Summary | |
|---|---|
void |
addDeclarationElement(IDeclarationElement element)
Add an IDeclarationElement to this block; |
void |
clear()
Remove all IDeclarationElement instances from this block; |
IDeclarationElement |
getDeclarationElement(String name)
The IDeclarationElement for the given name. |
IDeclarationElement[] |
getDeclarationElements()
The array of IDeclarationElement instances in this block. |
void |
moveDown(IDeclarationElement element)
Move element to the position after its current position. |
void |
moveUp(IDeclarationElement element)
Move element to the position before its current position. |
boolean |
removeDeclarationElement(IDeclarationElement element)
Remove an IDeclarationElement from this block; |
int |
size()
The number of declarations in this block. |
| Methods inherited from interface de.intarsys.tools.functor.IDeclaration |
|---|
copy, getDeclarationContext, isBlock |
| Method Detail |
|---|
void addDeclarationElement(IDeclarationElement element)
IDeclarationElement to this block;
element - void clear()
IDeclarationElement instances from this block;
IDeclarationElement getDeclarationElement(String name)
IDeclarationElement for the given name.
name -
IDeclarationElement for the given name.IDeclarationElement[] getDeclarationElements()
IDeclarationElement instances in this block.
IDeclarationElement instances in this block.void moveDown(IDeclarationElement element)
If the element is the last declaration or not contained in the block this method does nothing.
element - void moveUp(IDeclarationElement element)
If the element is the first declaration or not contained in the block this method does nothing.
element - boolean removeDeclarationElement(IDeclarationElement element)
IDeclarationElement from this block;
element -
true if declaration was removedint size()
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||