Class PseudoFunction<E>

    • Constructor Summary

      Constructors 
      Constructor Description
      PseudoFunction()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PseudoFunction

        public PseudoFunction()
    • Method Detail

      • parseExpression

        public abstract E parseExpression​(java.lang.String expression)
        Parses expression before usage.
      • match

        public abstract boolean match​(Node node,
                                      E expression)
        Matches node using provided parsed expression.
      • matchInRange

        public 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.
      • getPseudoFunctionName

        public java.lang.String getPseudoFunctionName()
        Returns pseudo-function name.