pobs.parser
Class PUnicodeBlock
java.lang.Object
pobs.PParser
pobs.parser.PUnicodeBlock
- All Implemented Interfaces:
- PObject
- public class PUnicodeBlock
- extends PParser
Matches any single character which is part of the specified UnicodeBlock.
Note that this class explicitely does not use the case sensitive directive.
- Author:
- Martijn W. van der Lee
Constructor Summary |
PUnicodeBlock(java.lang.Character.UnicodeBlock unicodeBlock)
Sole constructor taking the UnicodeBlock to match. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unicodeBlock
public java.lang.Character.UnicodeBlock unicodeBlock
PUnicodeBlock
public PUnicodeBlock(java.lang.Character.UnicodeBlock unicodeBlock)
- Sole constructor taking the UnicodeBlock to match.
- Parameters:
unicodeBlock
- the UnicodeBlock to match
parse
public PMatch parse(PScanner input,
long begin,
PContext context)
- Parameters:
input
- Input to be parsed.begin
- Index of first character of input
to be parsed.context
- Parsing context.
- Returns:
- Parsing result.