Class TokenDocument<T extends GenericToken>

    • Constructor Detail

      • TokenDocument

        public TokenDocument​(TextDocument textDocument)
    • Method Detail

      • getFullText

        public Chars getFullText()
        Returns the original text of the file (without escaping).
      • getFirstToken

        public abstract T getFirstToken()
        Returns the first token of the token chain.
        Throws:
        IllegalStateException - If the document has not been parsed yet