Package easyIO
Class PredictiveRecognizer
- java.lang.Object
- 
- easyIO.PredictiveRecognizer
 
- 
- All Implemented Interfaces:
- Recognizer
 
 public abstract class PredictiveRecognizer extends java.lang.Object implements Recognizer A Recognizer that decides what other recognizer to use based on the lookahead character.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface easyIO.RecognizerRecognizer.Continuation, Recognizer.Success
 
- 
 - 
Constructor SummaryConstructors Constructor Description PredictiveRecognizer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrecognize(BacktrackScanner inp, Recognizer.Continuation cont)For each possible way of recognizing the input, advanceinppast the point where the input is recognized and invokecont.
 
- 
- 
- 
Method Detail- 
recognizepublic void recognize(BacktrackScanner inp, Recognizer.Continuation cont) throws Recognizer.Success Description copied from interface:RecognizerFor each possible way of recognizing the input, advanceinppast the point where the input is recognized and invokecont. If the continuation throwsSuccess, leave the input position where it is and throw the same exception to the caller.- Specified by:
- recognizein interface- Recognizer
- Throws:
- Recognizer.Success
 
 
- 
 
-