@Experimental

Package net.sourceforge.pmd.lang.document

Contains types to model text files and handle operations on text. Parser implementations build upon this framework. This package is built around the type TextFile, which represents a source file and allows reading and writing. The class TextDocument models an in-memory snapshot of the state of a TextFile, and exposes information like line/offset mapping.
See Also:
TextFile, TextDocument, Reportable