public interface IParser
Modifier and Type | Field and Description |
---|---|
static int |
EOF |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
consume() |
void |
consume(int count) |
void |
consumeWhitespace() |
void |
consumeWhitespace(char[] exception) |
void |
consumeWhitespace(CharSequence exception) |
void |
consumeWhitespace(int exception) |
DataException |
exception(Throwable exception) |
long |
getColumn() |
void |
match(char expectedChar) |
void |
match(char[] expectedString) |
void |
match(char[] expectedString,
String failureMessage) |
void |
match(CharSequence expectedString) |
void |
match(CharSequence expectedString,
String failureMessage) |
void |
match(char expectedChar,
String failureMessage) |
StringBuilder |
matchUntil(char terminatingChar) |
StringBuilder |
matchUntil(char terminatingChar,
String failureMessage) |
StringBuilder |
matchUntilEof() |
int |
peek(int index) |
CharSequence |
peekSequence(int offset,
int length) |
boolean |
peekString(char[] lookahead) |
boolean |
peekString(CharSequence lookahead) |
int |
peekStringArray(char[][] lookahead) |
int |
peekStringArray(char[][] lookahead,
int offset) |
int |
peekStringArray(CharSequence... lookahead) |
int |
peekStringArray(CharSequence[] lookahead,
int offset) |
boolean |
peekStringOffset(char[] lookahead,
int offset) |
boolean |
peekStringOffset(CharSequence lookahead,
int offset) |
int |
peekWhitespaceLength(int index) |
int |
pop() |
boolean |
ready() |
static final int EOF
DataException exception(Throwable exception)
boolean ready() throws IOException
IOException
long getColumn()
int peek(int index)
int peekWhitespaceLength(int index)
CharSequence peekSequence(int offset, int length)
boolean peekString(CharSequence lookahead)
boolean peekString(char[] lookahead)
boolean peekStringOffset(CharSequence lookahead, int offset)
boolean peekStringOffset(char[] lookahead, int offset)
int peekStringArray(CharSequence... lookahead)
int peekStringArray(char[][] lookahead)
int peekStringArray(CharSequence[] lookahead, int offset)
int peekStringArray(char[][] lookahead, int offset)
int pop()
void match(char expectedChar, String failureMessage)
void match(char expectedChar)
void match(CharSequence expectedString, String failureMessage)
void match(char[] expectedString, String failureMessage)
void match(CharSequence expectedString)
void match(char[] expectedString)
StringBuilder matchUntil(char terminatingChar)
StringBuilder matchUntil(char terminatingChar, String failureMessage)
StringBuilder matchUntilEof()
void consume()
void consume(int count)
void consumeWhitespace()
void consumeWhitespace(int exception)
void consumeWhitespace(CharSequence exception)
void consumeWhitespace(char[] exception)
void close()
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.