Package net.sourceforge.pmd.lang.document
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:
-
ClassDescriptionView on a string which doesn't copy the array for subsequence operations.Collects files to analyse before a PMD run.An identifier for a
TextFile.Represents the coordinates of a text region, used for reporting.Internal API.Thrown when an attempt to write through aTextFilefails because the file is read-only.Represents a textual document, providing methods to edit it incrementally and address regions of text.Represents some location containing character data.A builder for a new text file.Contents of a text file.A place in a text document, represented as line/column information.A place in a text document, represented as line/column information.A contiguous range of text in aTextDocument.