@asciidoctor/core
Preparing search index...
Cursor
Class Cursor
Index
Constructors
constructor
Properties
dir
file
lineno
path
Accessors
line
Info
Methods
advance
get
Directory
get
File
get
Line
Info
get
Line
Number
get
Path
to
String
Constructors
constructor
new
Cursor
(
file
:
any
,
dir
?:
any
,
path
?:
any
,
lineno
?:
number
)
:
Cursor
Parameters
file
:
any
Optional
dir
:
any
Optional
path
:
any
Optional
lineno
:
number
Returns
Cursor
Properties
dir
dir
:
any
file
file
:
any
lineno
lineno
:
number
path
path
:
any
Accessors
line
Info
get
lineInfo
()
:
string
Returns
string
Methods
advance
advance
(
num
:
any
)
:
void
Parameters
num
:
any
Returns
void
get
Directory
getDirectory
()
:
any
Returns
any
get
File
getFile
()
:
any
Returns
any
get
Line
Info
getLineInfo
()
:
string
Get the line info string for this cursor (e.g. "path/to/file.adoc: line 42").
Returns
string
get
Line
Number
getLineNumber
()
:
number
Returns
number
get
Path
getPath
()
:
any
Returns
any
to
String
toString
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
dir
file
lineno
path
Accessors
line
Info
Methods
advance
get
Directory
get
File
get
Line
Info
get
Line
Number
get
Path
to
String
@asciidoctor/core
Loading...
Get the line info string for this cursor (e.g. "path/to/file.adoc: line 42").