dom.pattern.AbstractPattern Extends
Base pattern class for DOM matching.

Inheritance

Constructor

goog.dom.pattern.AbstractPattern()

Instance Methods

Public Protected Private
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

matchedNode :
The first node matched by this pattern.
Code »

Package dom.pattern

Package Reference