mixin

ParserState

@Js
mixin ParserState

Block parsing state.

methods nextNonSpaceIndex

Get the index of the next non-space character starting from fan.markdown (may be the same) (0-based)

activeBlockParser

Get the deepest open block parser

indent

Get the indentation in columns (either by spaces or tab stop of 4), starting from column

line

The current source line being parsed (full line)

column

The colum is the position within the line after tab characters have been processed as 4-space tab stops

index

The current index within the line (0-based)

isBlank

Return true if the current line is blank starting from the fan.markdown

activeBlockParser abstract BlockParser activeBlockParser()

Get the deepest open block parser

column abstract Int column()

The colum is the position within the line after tab characters have been processed as 4-space tab stops. If the line doesn't contain any tabs, it's the same as the fan.markdown. If the line starts with a tab, followed by text, then the column for the first character of the text is 4 (the index is 1)

Returns the current column within the line (0-based)

indent abstract Int indent()

Get the indentation in columns (either by spaces or tab stop of 4), starting from column.

index abstract Int index()

The current index within the line (0-based)

isBlank abstract Bool isBlank()

Return true if the current line is blank starting from the fan.markdown

line abstract SourceLine? line()

The current source line being parsed (full line)

nextNonSpaceIndex abstract Int nextNonSpaceIndex()

Get the index of the next non-space character starting from fan.markdown (may be the same) (0-based)

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST