Class StringLexerSource

    • Constructor Detail

      • StringLexerSource

        public StringLexerSource​(String string,
                                 boolean ppvalid)
        Creates a new Source for lexing the given String.
        Parameters:
        string - The input string to lex.
        ppvalid - true if preprocessor directives are to be honoured within the string.
      • StringLexerSource

        public StringLexerSource​(String string)
        Creates a new Source for lexing the given String. Equivalent to calling new StringLexerSource(string, false). By default, preprocessor directives are not honoured within the string.
        Parameters:
        string - The input string to lex.