Class JSLINT-RootFilter
Defined in: OdtDocument.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<inner> |
JSLINT-RootFilter(anchor, cursors, getRoot)
A filter that allows a position if it has the same closest
whitelisted root as the specified 'anchor', which can be the cursor
of the given memberid, or a given node
|
Method Attributes | Method Name and Description |
---|---|
acceptPosition(iterator)
|
Class Detail
<inner>
JSLINT-RootFilter(anchor, cursors, getRoot)
A filter that allows a position if it has the same closest
whitelisted root as the specified 'anchor', which can be the cursor
of the given memberid, or a given node
- Parameters:
- {!string|!Node} anchor
- {Object.} cursors
- {function(!Node):!Node} getRoot
Method Detail
{!core.PositionFilter.FilterResult}
acceptPosition(iterator)
- Parameters:
- {!core.PositionIterator} iterator
- Returns:
- {!core.PositionFilter.FilterResult}