|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpobs.PParser
pobs.parser.PSet
Matches if the next character on the input matches any of a specified
characters.
Uses case sensitivity directive.
BNF: parser := 'a' | 'b' | .. (where any number of characters
may be specified)
| Constructor Summary | |
PSet(java.lang.String set)
Sole constructor. |
|
| Method Summary | |
PMatch |
parse(PScanner input,
long begin,
PContext context)
|
| Methods inherited from class pobs.PParser |
addControl, getErrorInfo, process, setErrorInfo, setMatchAction, setMismatchAction |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PSet(java.lang.String set)
set - a string containing the set of characters.| Method Detail |
public PMatch parse(PScanner input,
long begin,
PContext context)
input - Input to be parsed.begin - Index of first character of input to be parsed.context - Parsing context.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||