type
IncludeSourceSpans
src
@Js
@Serializable { simple=true }
enum class IncludeSourceSpans : Enum
Enum for configuring whether to include SourceSpans or not while parsing.
enum
none |
Do not include source spans |
---|---|
blocks |
Include source spans on Block nodes |
blocks_and_inlines |
Include source spans on block nodes and inline nodes |
constructors
fromStr |
Return the IncludeSourceSpans instance for the specified name. |
---|
fields
vals |
List of IncludeSourceSpans values indexed by ordinal |
---|
Slot Details
blocks
src
const static IncludeSourceSpans blocks := ...
Include source spans on Block nodes
blocks_and_inlines
src
const static IncludeSourceSpans blocks_and_inlines := ...
Include source spans on block nodes and inline nodes
fromStr
none
src
const static IncludeSourceSpans none := ...
Do not include source spans
vals
src
const static IncludeSourceSpans[] vals := ...
List of IncludeSourceSpans values indexed by ordinal