protected void generatePrimitiveTypes ( IStyleAppendable it , Iterable < String > types ) { final Iterator < String > iterator = types . iterator ( ) ; if ( iterator . hasNext ( ) ) { appendComment ( it , "primitive types." ) ; //$NON-NLS-1$ appendMatch ( it , "sarlArrayDeclaration" , "\\(\\s*\\[\\s*\\]\\)*" , true ) ; //$NON-NLS-1$//$NON-NLS-2$ it . append ( "syn keyword sarlPrimitiveType" ) ; //$NON-NLS-1$ do { it . append ( " " ) ; //$NON-NLS-1$ it . append ( iterator . next ( ) ) ; } while ( iterator . hasNext ( ) ) ; it . append ( " nextgroup=sarlArrayDeclaration" ) . newLine ( ) ; //$NON-NLS-1$ appendCluster ( it , "sarlPrimitiveType" ) ; //$NON-NLS-1$ hilight ( "sarlPrimitiveType" , VimSyntaxGroup . SPECIAL ) ; //$NON-NLS-1$ hilight ( "sarlArrayDeclaration" , VimSyntaxGroup . SPECIAL ) ; //$NON-NLS-1$ it . newLine ( ) ; } }
Generate the keywords for the primitive types .