Package gnu.regexp

Class REToken

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected REToken​(int subIndex)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean chain​(REToken token)  
      (package private) abstract void dump​(java.lang.StringBuffer os)  
      (package private) void dumpAll​(java.lang.StringBuffer os)  
      (package private) int getMinimumLength()  
      (package private) abstract boolean match​(CharIndexed input, REMatch mymatch)
      Returns true if the match succeeded, false if it failed.
      protected boolean next​(CharIndexed input, REMatch mymatch)
      Returns true if the rest of the tokens match, false if they fail.
      (package private) void setUncle​(REToken anUncle)  
      • Methods inherited from class java.lang.Object

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

      • subIndex

        protected int subIndex
    • Constructor Detail

      • REToken

        protected REToken​(int subIndex)
    • Method Detail

      • getMinimumLength

        int getMinimumLength()
      • setUncle

        void setUncle​(REToken anUncle)
      • match

        abstract boolean match​(CharIndexed input,
                               REMatch mymatch)
        Returns true if the match succeeded, false if it failed.
      • next

        protected boolean next​(CharIndexed input,
                               REMatch mymatch)
        Returns true if the rest of the tokens match, false if they fail.
      • chain

        boolean chain​(REToken token)
      • dump

        abstract void dump​(java.lang.StringBuffer os)
      • dumpAll

        void dumpAll​(java.lang.StringBuffer os)