Interface FileIndex
- All Known Implementing Classes:
FileIndexImpl
public interface FileIndex
-
Method Summary
Modifier and TypeMethodDescriptiongetFile(int fileID) intgetFileID(SourceFile sourceFile) Returns an arbitrary file ID for use this compilation context, or generates one if missing.default SpangetLineSpan(int fileId, int lineNo)
-
Method Details
-
getFileID
Returns an arbitrary file ID for use this compilation context, or generates one if missing.- Parameters:
sourceFile- The file to retrieve the ID for.- Returns:
- A file ID unique to the given sourceFile.
-
getFile
-
getLineSpan
-