src/main/java/ca/gobits/bnf/tokenizer/BNFTokenizerFactoryImpl.java
private boolean includeText(final BNFTokenizerType type, final BNFTokenizerParams params) {
        return (params.isIncludeWhitespace() && type == BNFTokenizerType.WHITESPACE)
                || (params.isIncludeWhitespaceOther() && type == BNFTokenizerType.WHITESPACE_OTHER)
                || (params.isIncludeWhitespaceNewlines() && type == BNFTokenizerType.WHITESPACE_NEWLINE)
                || !isWhitespace(type);
    }
/**
     * Whether to include the text while parsing.
     * @param type - BNFTokenizerType
     * @param params - BNFTokenizerParams
     * @return boolean
     */
Whether to include the text while parsing.
@param type - BNFTokenizerType
@param params - BNFTokenizerParams
@return boolean
Whether to include the text while parsing . @param type - BNFTokenizerType @param params - BNFTokenizerParams @return boolean
private boolean includeText(final BNFTokenizerType type, final BNFTokenizerParams params) {
        return (params.isIncludeWhitespace() && type == BNFTokenizerType.WHITESPACE)
                || (params.isIncludeWhitespaceOther() && type == BNFTokenizerType.WHITESPACE_OTHER)
                || (params.isIncludeWhitespaceNewlines() && type == BNFTokenizerType.WHITESPACE_NEWLINE)
                || !isWhitespace(type);
    }
private boolean includeText ( final BNFTokenizerType type , final BNFTokenizerParams params ) { return ( params . isIncludeWhitespace ( ) && type == BNFTokenizerType . WHITESPACE ) || ( params . isIncludeWhitespaceOther ( ) && type == BNFTokenizerType . WHITESPACE_OTHER ) || ( params . isIncludeWhitespaceNewlines ( ) && type == BNFTokenizerType . WHITESPACE_NEWLINE ) || ! isWhitespace ( type ) ; }
Whether to include the text while parsing.
Whether to include the text while parsing .