| Package | Description |
|---|---|
| com.mpobjects.bdparsii.tokenizer |
| Modifier and Type | Class and Description |
|---|---|
class |
Char
Represents a single character read from a
LookaheadReader. |
class |
Token
Represents a token of text read from a
Tokenizer. |
| Modifier and Type | Field and Description |
|---|---|
static Position |
Position.UNKNOWN
Represents an unknown position for warnings and errors which cannot be associated with a defined position.
|
| Modifier and Type | Method and Description |
|---|---|
Position |
ParseError.getPosition()
Provides the position where the error or warning occurred.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Tokenizer.addError(Position pos,
String message,
Object... parameters)
Adds a parse error to the internal problem collector.
|
void |
Tokenizer.addWarning(Position pos,
String message,
Object... parameters)
Adds a warning to the internal problem collector.
|
static Token |
Token.create(Token.TokenType type,
Position pos)
Creates a new token with the given type, using the given position as location info.
|
static ParseError |
ParseError.error(Position pos,
String msg)
Creates a new error for the given position with the given message.
|
static ParseError |
ParseError.warning(Position pos,
String msg)
Creates a new warning for the given position with the given message.
|
| Constructor and Description |
|---|
ParseError(Position pos,
String message,
ParseError.Severity severity) |
Copyright © 2019. All rights reserved.