RewriteRuleElementStream Fields |
The RewriteRuleElementStream type exposes the following members.
| Name | Description | |
|---|---|---|
| adaptor | ||
| cursor |
Cursor 0..n-1. If singleElement!=null, cursor is 0 until you next(),
which bumps it to 1 meaning no more elements.
| |
| dirty | Once a node / subtree has been used in a stream, it must be dup'd
from then on. Streams are reset after subrules so that the streams
can be reused in future subrules. So, reset must set a dirty bit.
If dirty, then next() always returns a dup. | |
| elementDescription | The element or stream description; usually has name of the token or
rule reference that this list tracks. Can include rulename too, but
the exception would track that info. | |
| elements | The list of tokens or subtrees we are tracking | |
| singleElement | Track single elements w/o creating a list. Upon 2nd add, alloc list |