|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PParser | |
pobs | Interfaces and basic classes of the framework. |
pobs.errorhandler | |
pobs.parser | |
pobs.utility |
Uses of PParser in pobs |
Methods in pobs that return PParser | |
PParser |
PParser.addControl(PControl control)
Adds a control. |
PParser |
PParser.setErrorInfo(java.lang.String errorInfo)
Sets an error info. |
PParser |
PParser.setMatchAction(PAction matchAction)
Defines the action used in the case of matching. |
PParser |
PParser.setMismatchAction(PAction mismatchAction)
Defines the action used in the case of missmatching. |
Methods in pobs with parameters of type PParser | |
void |
PErrorHandler.notifySyntaxError(long position,
PParser parser)
Notifies the error handler that a syntax error occured for the specified parser at the specified parsing position. |
Uses of PParser in pobs.errorhandler |
Methods in pobs.errorhandler with parameters of type PParser | |
void |
PDefaultErrorHandler.notifySyntaxError(long position,
PParser parser)
|
Uses of PParser in pobs.parser |
Subclasses of PParser in pobs.parser | |
class |
PAny
Matches any single character if there is any left on the input. |
class |
PChar
Matches only if the next character on input is the character specified. |
class |
PDigit
Matches any digit character ranging as defined by java.lang.Character.isDigit. |
class |
PEnd
Matches successfull when no more input is available, always returns a length of zero. |
class |
PEOL
Terminal parser which matches a line-ending. |
class |
PExcept
Matches if the parsed input matches the left-hand parser and not matches the right-hand parser. |
class |
PKleene
Matches the specified parser zero-or-more times. |
class |
PLetter
Matches any letter character; any alphabetic character in any of the international alphabets defined in UniCode. |
class |
PLimit
Semantic parser which verifies if a parsed numeric (double) value is within specified, inclusive boundaries. |
class |
PList
Matches a delimited list of items within the specified number of items. |
class |
PMultiple
Matches the specified parser one-or-more times. |
class |
POptional
Matches succesful always, the length of the match is zero when the specified parser fails or the length of the specified parsers' succesful match. |
class |
POr
Tries a number of parsers specified until one of them matches. |
class |
PRange
Terminal parser which creates a set of characters to match from an encoded input "rangestring". |
class |
PRepeat
Non-terminal parser which matches the same parser multiple times, optionally limited. |
class |
PSequence
Matches any number of specified parsers in the given order, each one following the previous in sequence. |
class |
PSet
Matches if the next character on the input matches any of a specified characters. |
class |
PToken
Matches The tokens specified similar character by character. |
class |
PTokens
Matches any of the tokens specified similar to an POr 'ed list of [@linke pobs.parser.PToken PToken} objects. |
class |
PUnicode
Matches any single character as long as it is defined in Unicode. |
class |
PUnicodeBlock
Matches any single character which is part of the specified UnicodeBlock. |
class |
PWhitespace
Matches any sequence of atleast one whitespace character, as defined by Character.isWhitespace, from input. |
class |
PWrapper
Wrapper of a PObject makes it a PParser . |
Uses of PParser in pobs.utility |
Fields in pobs.utility declared as PParser | |
static PParser |
POBS.ANY
Matches any single character. |
static PParser |
POBS.UNSIGNED_INT
Matches an unsigned decimal integer of any length. |
static PParser |
POBS.SIGNED_INT
Matches a signed decimal integer of any length. |
static PParser |
POBS.UNSIGNED_FLOAT
Matches an unsigned floating decimal of any length. |
static PParser |
POBS.SIGNED_FLOAT
Matches a signed floating decimal of any length. |
Methods in pobs.utility that return PParser | |
static PParser |
POBS.alphaNum()
Matches all ASCII alphabetical characters and digits, both lower- and uppercase. |
static PParser |
POBS.alphaNums()
Creates a parser who parses one or more alpha-numerical characters with skipping disabled. |
static PParser |
POBS.alpha()
Matches all ASCII alphabetical characters, both lower- and uppercase. |
static PParser |
POBS.alphaAlphaNums()
Creates a parser who parses a sequence starting with a letter followed by zero or more alpha-numerical characters. |
static PParser |
POBS.lowerCase()
Matches all ASCII lowercase alphabetical characthers. |
static PParser |
POBS.upperCase()
Matches all ASCII uppercase alphabetical characters. |
static PParser |
POBS.digit()
Matches a single ASCII digits 0 to 9. |
static PParser |
POBS.digits()
Matches a series ASCII digits 0 to 9. |
static PParser |
POBS.binaryDigit()
Matches all valid ASCII characters for the binary system, both lower- and uppercase. |
static PParser |
POBS.octalDigit()
Matches all valid ASCII characters for the octal system, both lower- and uppercase. |
static PParser |
POBS.hexDigit()
Matches all valid ASCII characters for the hexadecimal system, both lower- and uppercase. |
static PParser |
POBS.sign()
Matches all the ASCII characters for the positive and negative signs. |
static PParser |
POBS.unsignedInt()
Creates a new instance of a parser for an unsigned integer. |
static PParser |
POBS.signedInt()
Creates a new instance of a parser for optionally signed integer numbers. |
static PParser |
POBS.floatNumber()
Creates a new instance of a parser for floating point numbers with optional exponent. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |