Package org.kahina.core.data.source

Provides data types for representing source code files and locations.

See: Description

Package org.kahina.core.data.source Description

Provides data types for representing source code files and locations.

A KahinaSourceCodeLocation is a wrapper for a line in a source code file, define by an absolute path to a source code file and a line number.

A source code file is modeled by a KahinaSourceFileModel, a specialization of org.kahina.core.data.text.KahinaTextFileModel which serves as the ancestor class for application-specific source file models. For instance, a specialized model of a Prolog source file would include the locations of clauses.

A KahinaSourceFileRegistry is used to cache KahinaSourceFileModels under absolute path names, which can lead to a speedup especially if a lot of preprocessing is needed.

Since:
1.0