The goog.dom.pattern.AllChildren Class

goog.dom.pattern.AllChildren
> goog.dom.pattern.AbstractPattern

goog.dom.pattern.AllChildren()

Pattern object that matches any nodes at or below the current tree depth.

.matchToken(token, type)

Test whether the given token is on the same level.

token {Node}
Token to match against.
type {goog.dom.TagWalkType}
The type of token.
returns {goog.dom.pattern.MatchType}
{@code MATCHING} if the token is on the same level or deeper and {@code BACKTRACK_MATCH} if not.

.matchedNode {Node}

Inherited from goog.dom.pattern.AbstractPattern .

The first node matched by this pattern.

.reset()

Reset any internal state this pattern keeps.