Package org.xembly
Interface Directive.Stack
-
- Enclosing interface:
- Directive
public static interface Directive.StackStack.- Since:
- 0.16
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Directive.Cursorpop()Pop cursor (runtime exception if stack is empty).voidpush(Directive.Cursor cursor)Push cursor (runtime exception if stack is full).
-
-
-
Method Detail
-
push
void push(Directive.Cursor cursor)
Push cursor (runtime exception if stack is full).- Parameters:
cursor- Cursor to push
-
pop
Directive.Cursor pop() throws ImpossibleModificationException
Pop cursor (runtime exception if stack is empty).- Returns:
- Cursor recently added
- Throws:
ImpossibleModificationException- If fails
-
-