pobs.parser
Class PEnd

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

public class PEnd
extends PParser

Matches successfull when no more input is available, always returns a length of zero.

Author:
Martijn W. van der Lee

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

PEnd

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