type
IncludeSourceSpans
@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
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
none
const static IncludeSourceSpans none := ...
Do not include source spans
vals
const static IncludeSourceSpans[] vals := ...
List of IncludeSourceSpans values indexed by ordinal