pobs.parser
Class PWhitespace

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

public class PWhitespace
extends PParser

Matches any sequence of atleast one whitespace character, as defined by Character.isWhitespace, from input.

Author:
Martijn W. van der Lee

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

PWhitespace

public PWhitespace()
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.