public abstract class PseudoFunction<E>
extends java.lang.Object
| Constructor and Description |
|---|
PseudoFunction() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPseudoFunctionName()
Returns pseudo-function name.
|
abstract boolean |
match(Node node,
E expression)
Matches node using provided parsed expression.
|
boolean |
matchInRange(java.util.List<Node> matchedResults,
Node node,
int index,
E expression)
Returns
true if node matches the pseudo-class within currently matched results. |
abstract E |
parseExpression(java.lang.String expression)
Parses expression before usage.
|
public abstract E parseExpression(java.lang.String expression)
public abstract boolean match(Node node, E expression)
public boolean matchInRange(java.util.List<Node> matchedResults, Node node, int index, E expression)
true if node matches the pseudo-class within currently matched results.public java.lang.String getPseudoFunctionName()