Click or drag to resize

RewriteRuleElementStream Fields

The RewriteRuleElementStream type exposes the following members.

Fields
  NameDescription
Protected fieldadaptor
Protected fieldcursor
Cursor 0..n-1. If singleElement!=null, cursor is 0 until you next(), which bumps it to 1 meaning no more elements.
Protected fielddirty
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.
Protected fieldelementDescription
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.
Protected fieldelements
The list of tokens or subtrees we are tracking
Protected fieldsingleElement
Track single elements w/o creating a list. Upon 2nd add, alloc list
Top
See Also