public int computeNextStatementStartKeywordCount ( ) { int result = 0 ; if ( isNextKeyWord ( ) ) { for ( String [ ] nextStmtStart : registeredStatementStartPhrases ) { if ( this . matches ( nextStmtStart ) ) { return nextStmtStart . length ; } } } return result ; }
Method to determine if next tokens match a registered statement start phrase .