Package org.asciidoctor.ast
Interface Cursor
-
- All Known Implementing Classes:
CursorImpl
public interface Cursor
Location of a conversion record (LogRecord
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDir()
java.lang.String
getFile()
int
getLineNumber()
java.lang.String
getPath()
-
-
-
Method Detail
-
getLineNumber
int getLineNumber()
- Returns:
- The line number where the owning block begins.
-
getPath
java.lang.String getPath()
- Returns:
- Source file simple name, or
<stdin>
value when converting from a String.
-
getDir
java.lang.String getDir()
- Returns:
- Absolute path to the source file parent directory, or the execution path when converting from a String.
-
getFile
java.lang.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.
-
-