ParseCtxt { public static boolean isSpace(char ch) { return Character.isSpaceChar(ch) || (ch == '\t') || (ch == '\n'); } ParseCtxt(String text);  ParseCtxt(String text, SyntaxVersion syntaxVersion); final boolean isDone(); static boolean isSpace(char ch); final ParseCtxt skipBlanks(); final boolean isOnChar(char ch); final char currentChar(); final void readChar(char ch); final boolean testAndReadChar(char ch); final char readCharAndAdvance(); String readCharsAndAdvanceUntil(char... charsToStopBefore); final String skipBlanksAndReadNameString(); final String readNameString(); boolean isNameStartChar(char ch); boolean isNameMiddleChar(char ch); void readString(String s); boolean readOptionalString(String s); boolean readOptionalChar(char ch); final String readTill(char ch); int getPos(); void setPos(int newPos); String getText(); SyntaxVersion getSyntaxVersion();  }
@Test public void isSpaceCharRecognizedTabs() { assertTrue("tab not recognized as space", ParseCtxt.isSpace('\t')); }