private static bool matchSymbol(Scanner s) { if (!s.isInitial()) return false; s.readChar(); while (s.isSubsequent()) s.readChar(); return true; }
private static void matchSymbol(Scanner s) { if (!s.isInitial()) { return; } s.readChar(); while (s.isSubsequent()) { s.readChar(); } }
private static bool matchSymbol(Scanner s) { if (!s.isInitial()) { return(false); } s.readChar(); while (s.isSubsequent()) { s.readChar(); } return(true); }
private static void matchSymbol(Scanner s) { if (!s.isInitial()) return; s.readChar(); while (s.isSubsequent()) s.readChar(); }