|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pobs.PParser pobs.parser.PToken
Matches The tokens specified similar character by character.
Uses case sensitivity directive.
BNF: parser := "abc"
Constructor Summary | |
PToken(java.lang.String token)
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 PToken(java.lang.String token)
token
- a string which is matchedMethod 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 |