@ Override public void start ( ) { int errorCount = 0 ; try { Parser < E > p = new Parser < E > ( pattern ) ; p . setContext ( getContext ( ) ) ; Node t = p . parse ( ) ; this . head = p . compile ( t , getEffectiveConverterMap ( ) ) ; ConverterUtil . startConverters ( this . head ) ; } catch ( ScanException ex ) { addError ( "Incorrect pattern found" , ex ) ; errorCount ++ ; } if ( errorCount == 0 ) { super . started = true ; } }
Parses the pattern and creates the Converter linked list .