Interface IncludeResolver
- All Known Implementing Classes:
SearchPathIncludeResolver
public interface IncludeResolver
-
Method Summary
Modifier and TypeMethodDescriptionResolve an include path to source text.
-
Method Details
-
resolve
IncludeResolution resolve(Path includingFile, String includePath, boolean system) throws IOException Resolve an include path to source text.- Parameters:
includingFile- absolute or virtual path of the including fileName (may be null for roots)includePath- the raw string inside#include "..."or#include <...>system- true for#include <...>, false for#include "..."- Returns:
- the loaded source text
- Throws:
IOException- if not found or unreadable
-