pobs.parser
Class PUnicode

java.lang.Object
  extended bypobs.PParser
      extended bypobs.parser.PUnicode
All Implemented Interfaces:
PObject

public class PUnicode
extends PParser

Matches any single character as long as it is defined in Unicode. This is a terminal parser for which no BNF equivalent exists.

Author:
Martijn W. van der Lee

Constructor Summary
PUnicode()
           
 
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

PUnicode

public PUnicode()
Method Detail

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.