public static SymbolToken [ ] newSymbolTokens ( SymbolTable symtab , String ... text ) { if ( text != null ) { int count = text . length ; if ( count != 0 ) { SymbolToken [ ] result = new SymbolToken [ count ] ; for ( int i = 0 ; i < count ; i ++ ) { String s = text [ i ] ; result [ i ] = newSymbolToken ( symtab , s ) ; } return result ; } } return SymbolToken . EMPTY_ARRAY ; }
Validates each text element .