Class InputLexerSource

    • Constructor Detail

      • InputLexerSource

        public InputLexerSource​(InputStream input)
                         throws IOException
        Creates a new Source for lexing the given Reader. Preprocessor directives are honoured within the file.
    • Method Detail

      • getPath

        public String getPath()
        Description copied from class: Source
        Returns the File currently being lexed. If this Source is not a FileLexerSource, then it will ask the parent Source, and so forth recursively. If no Source on the stack is a FileLexerSource, returns null.
        getPath in class Source
      • getName

        public String getName()
        Description copied from class: Source
        Returns the human-readable name of the current Source.
        getName in class Source