dom.pattern.AllChildren Extends goog.dom.pattern.AbstractPattern
Pattern object that matches any nodes at or below the current tree depth.

Inheritance

Constructor

goog.dom.pattern.AllChildren()

Instance Methods

Public Protected Private
matchToken(tokentype) goog.dom.pattern.MatchType
Test whether the given token is on the same level.
Arguments:
token : Node
Token to match against.
type : goog.dom.TagWalkType
The type of token.
Returns: goog.dom.pattern.MatchType  MATCHING if the token is on the same level or deeper and BACKTRACK_MATCH if not.
code »
reset()
Reset any internal state this pattern keeps.
code »
matchToken(tokentype) goog.dom.pattern.MatchType
Test whether this pattern matches the given token.
Arguments:
token : Node
Token to match against.
type : goog.dom.TagWalkType
The type of token.
Returns: goog.dom.pattern.MatchType  MATCH if the pattern matches.
code »
reset()
Reset any internal state this pattern keeps.
code »

Instance Properties

constructor :
No description.
Code »
depth_ :
Tracks the matcher's depth to detect the end of the tag.
Code »
matchedNode :
The first node matched by this pattern.
Code »

Static Properties

goog.dom.pattern.AllChildren.superClass_ :
No description.
Code »

Package dom.pattern

Package Reference