Package org.asciidoctor.ast
Interface Cursor
-
- All Known Implementing Classes:
CursorImpl
public interface CursorLocation of a conversion record (LogRecord).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDir()java.lang.StringgetFile()intgetLineNumber()java.lang.StringgetPath()
-
-
-
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
nullwhen converting from a String. This will point to the correct source file, even when it is included from another.
-
-