Package org.asciidoctor.ast
Interface Cursor
- All Known Implementing Classes:
CursorImpl
public interface Cursor
Location of a conversion record (
LogRecord
).-
Method Summary
-
Method Details
-
getLineNumber
int getLineNumber()- Returns:
- The line number where the owning block begins.
-
getPath
String getPath()- Returns:
- Source file simple name, or
<stdin>
value when converting from a String.
-
getDir
String getDir()- Returns:
- Absolute path to the source file parent directory, or the execution path when converting from a String.
-
getFile
String getFile()- Returns:
- Absolute path to the source file, or
null
when converting from a String. This will point to the correct source file, even when it is included from another.
-