public class ExpressionList.ExpressionListIterator extends List.NodeListIterator
java.util.ListIterator
is exposed through this class.I
children, index
Constructor and Description |
---|
ExpressionListIterator() |
Modifier and Type | Method and Description |
---|---|
Expression |
nextItem()
Returns the next AST node in the list.
|
Expression |
previousItem()
Returns the previous element in the list.
|
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, reset, set
public Expression nextItem()
previous()
to go back and
forth. (Note that alternating calls to next()
and previous()
will return the same element repeatedly.)public Expression previousItem()
Copyright © 2016. All rights reserved.