protected List < Map < String , ? > > generateStandardKeywords ( Set < String > keywords ) { final List < Map < String , ? > > list = new ArrayList <> ( ) ; if ( ! keywords . isEmpty ( ) ) { list . add ( pattern ( it -> { it . matches ( keywordRegex ( keywords ) ) ; it . style ( KEYWORD_STYLE ) ; it . comment ( "Standard Keywords" ) ; //$NON-NLS-1$ } ) ) ; } return list ; }
Generate the rules for the standard keywords .