@wdprlib/parser
Preparing search index...
parser/rules/types
ParseContext
Interface ParseContext
Parser context passed to rules
interface
ParseContext
{
bibcites
:
string
[]
;
blockCloseCondition
?:
(
ctx
:
ParseContext
)
=>
boolean
;
blockFallbackRule
:
BlockRule
;
blockRules
:
BlockRule
[]
;
codeBlocks
:
CodeBlockData
[]
;
diagnostics
:
Diagnostic
[]
;
divClosesBudget
?:
number
;
excludedBlockNames
?:
ReadonlySet
<
string
>
;
footnoteBlockParsed
:
boolean
;
footnotes
:
Element
[]
[]
;
htmlBlocks
:
string
[]
;
inlineRules
:
InlineRule
[]
;
pos
:
number
;
settings
:
WikitextSettings
;
tocEntries
:
TocEntry
[]
;
tokens
:
Token
[]
;
trackPositions
:
boolean
;
version
:
"wikidot"
;
}
Index
Properties
bibcites
block
Close
Condition?
block
Fallback
Rule
block
Rules
code
Blocks
diagnostics
div
Closes
Budget?
excluded
Block
Names?
footnote
Block
Parsed
footnotes
html
Blocks
inline
Rules
pos
settings
toc
Entries
tokens
track
Positions
version
Properties
bibcites
bibcites
:
string
[]
Optional
block
Close
Condition
blockCloseCondition
?:
(
ctx
:
ParseContext
)
=>
boolean
block
Fallback
Rule
blockFallbackRule
:
BlockRule
block
Rules
blockRules
:
BlockRule
[]
code
Blocks
codeBlocks
:
CodeBlockData
[]
diagnostics
diagnostics
:
Diagnostic
[]
Optional
div
Closes
Budget
divClosesBudget
?:
number
Optional
excluded
Block
Names
excludedBlockNames
?:
ReadonlySet
<
string
>
footnote
Block
Parsed
footnoteBlockParsed
:
boolean
footnotes
footnotes
:
Element
[]
[]
html
Blocks
htmlBlocks
:
string
[]
inline
Rules
inlineRules
:
InlineRule
[]
pos
pos
:
number
settings
settings
:
WikitextSettings
toc
Entries
tocEntries
:
TocEntry
[]
tokens
tokens
:
Token
[]
track
Positions
trackPositions
:
boolean
version
version
:
"wikidot"
Package
Version
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
bibcites
block
Close
Condition
block
Fallback
Rule
block
Rules
code
Blocks
diagnostics
div
Closes
Budget
excluded
Block
Names
footnote
Block
Parsed
footnotes
html
Blocks
inline
Rules
pos
settings
toc
Entries
tokens
track
Positions
version
@wdprlib/parser
Loading...
Parser context passed to rules