private void initFirstMapForGrammarProductions ( ) { for ( Production production : grammar . getProductions ( ) . getList ( ) ) { if ( ! firstGrammar . containsKey ( production . getName ( ) ) ) { firstGrammar . put ( production . getName ( ) , new LinkedHashSet < Terminal > ( ) ) ; } } }
Initializes the first map for data input .