public final boolean isUnified ( AnalyzedToken matchToken , Map < String , List < String > > uFeatures , boolean lastReading , boolean isMatched ) { if ( inUnification ) { if ( isMatched ) { uniMatched |= isSatisfied ( matchToken , uFeatures ) ; } uniAllMatched = uniMatched ; if ( lastReading ) { startNextToken ( ) ; uniMatched = false ; } return uniAllMatched && getFinalUnificationValue ( uFeatures ) ; } else { if ( isMatched ) { isSatisfied ( matchToken , uFeatures ) ; } } if ( lastReading ) { inUnification = true ; uniMatched = false ; startUnify ( ) ; } return true ; }
Tests if the token sequence is unified .