goog.dom.pattern.AbstractPattern
Classgoog.dom.pattern.AbstractPattern()
Base pattern class for DOM matching.
.matchToken(token, type)
Test whether this pattern matches the given token.
token
{Node
}
type
{goog.dom.TagWalkType
}
goog.dom.pattern.MatchType
}
.matchedNode
{Node
}The first node matched by this pattern.
.reset()
Reset any internal state this pattern keeps.