class

IncludeSourceSpans

@Js
@Serializable { simple=true }
const class IncludeSourceSpans : Enum

Enum for configuring whether to include SourceSpans or not while parsing.

constructors fromStr

Return the IncludeSourceSpans instance for the specified name

fields vals

List of IncludeSourceSpans values indexed by ordinal

blocks

Include source spans on Block nodes

blocks_and_inlines

Include source spans on block nodes and inline nodes

none

Do not include source spans

blocks const static IncludeSourceSpans : blocks

Include source spans on Block nodes

blocks_and_inlines const static IncludeSourceSpans : blocks_and_inlines

Include source spans on block nodes and inline nodes

fromStr static new fromStr(Str name, Bool checked)

Return the IncludeSourceSpans instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

none const static IncludeSourceSpans : none

Do not include source spans

vals const static IncludeSourceSpans[] : vals

List of IncludeSourceSpans values indexed by ordinal

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