Class Values.Parser

  • Enclosing class:
    Values

    protected static class Values.Parser
    extends Object
    • Constructor Detail

      • Parser

        public Parser​(String original)
    • Method Detail

      • position

        public int position()
      • mark

        public int mark()
      • rewindTo

        public void rewindTo​(int position)
      • original

        public String original()
      • hasNext

        public boolean hasNext()
      • canConsumeNextToken

        protected boolean canConsumeNextToken()
      • next

        public String next​(int n)
      • previous

        public String previous()
      • canConsume

        public boolean canConsume​(String expected)
      • canConsume

        public boolean canConsume​(String expected,
                                  boolean ignoreLeadingAndTrailingWhitespace)
      • isNext

        protected boolean isNext​(String expected,
                                 boolean ignoreLeadingAndTrailingWhitespace)