|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PParser | |
pobs | |
pobs.parser | |
pobs.utility |
Uses of PParser in pobs |
Methods in pobs that return PParser | |
PParser |
PParser.addControl(PDirectiveControl control)
|
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. |
PParser |
PParser.setErrorInfo(java.lang.String errorInfo)
Sets an error info. |
Methods in pobs with parameters of type PParser | |
void |
PErrorHandler.notify(long position,
PParser parser)
Notifies the error handler that an error occured for the specified parser at the specified parsing position. |
void |
PDefaultErrorHandler.notify(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 |
PConfix
Matches a specified starting tag, content and end tag. |
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 |
POnMatch
Utility parser which allows actions to be performed at specific stages during the parsing of the input on either a succesful match, a failed match or both. |
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 |
PWrappedParser
Wrapper of a PParser . |
Constructors in pobs.parser with parameters of type PParser | |
PWrappedParser(PParser parser)
|
|
POnMatch(PParser parser,
PAction action_match)
Match-only constructor. |
|
POnMatch(PParser parser,
PAction action_match,
PAction action_mismatch)
Match and mismatch constructor. |
Uses of PParser in pobs.utility |
Fields in pobs.utility declared as PParser | |
static PParser |
POBS.ALPHA_NUM
Matches all ASCII alphabetical characters and digits, both lower- and uppercase. |
static PParser |
POBS.ALPHA
Matches all ASCII alphabetical characters, both lower- and uppercase. |
static PParser |
POBS.LOWER_CASE
Matches all ASCII lowercase alphabetical characthers. |
static PParser |
POBS.UPPER_CASE
Matches all ASCII uppercase alphabetical characters. |
static PParser |
POBS.ANY
Matches any single character. |
static PParser |
POBS.BINARY_DIGIT
Matches all valid ASCII characters for the binary system, both lower- and uppercase. |
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.OCTAL_DIGIT
Matches all valid ASCII characters for the octal system, both lower- and uppercase. |
static PParser |
POBS.HEX_DIGIT
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.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. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |