Class JStringParser

java.lang.Object
honeyroasted.jype.metadata.signature.JStringParser
Direct Known Subclasses:
JDescriptorParser, JSignatureParser

public class JStringParser extends Object
  • Field Details

    • index

      protected int index
    • codepoints

      protected int[] codepoints
    • str

      protected String str
  • Constructor Details

    • JStringParser

      public JStringParser(String str)
  • Method Details

    • peek

      protected int peek()
    • next

      protected int next()
    • skip

      protected void skip(IntPredicate c)
    • skip

      protected void skip()
    • skip

      protected void skip(char c)
    • hasNext

      protected boolean hasNext()
    • readUntil

      protected void readUntil(IntPredicate c, StringBuilder sb)
    • readUntil

      protected String readUntil(IntPredicate c)
    • readWhile

      protected void readWhile(IntPredicate c, StringBuilder sb)
    • readWhile

      protected String readWhile(IntPredicate c)
    • expectEnd

      protected <T> T expectEnd(T value)
    • fail

      protected <T> T fail(String message)