ICodeBlockParseTreeNode
tw5-typed / modules/parsers / ICodeBlockParseTreeNode
Interface: ICodeBlockParseTreeNode
Defined in: src/modules/parsers/index.d.ts:117
Extends
Properties
attributes
attributes:
object&Record<string,IParseTreeAttribute>
Defined in: src/modules/parsers/index.d.ts:118
Type Declaration
code?
optionalcode:object
code.type
type:
"string"
code.value
value:
string
language?
optionallanguage:object
language.type
type:
"string"
language.value
value:
string
Overrides
children?
optionalchildren:IParseTreeNode[]
Defined in: src/modules/parsers/index.d.ts:75
Inherited from
end?
optionalend:number
Defined in: src/modules/parsers/index.d.ts:76
Inherited from
isBlock?
optionalisBlock:boolean
Defined in: src/modules/parsers/index.d.ts:77
Inherited from
isMacroDefinition?
optionalisMacroDefinition:boolean
Defined in: src/modules/parsers/index.d.ts:78
Inherited from
IWikiASTNode.isMacroDefinition
isSelfClosing?
optionalisSelfClosing:boolean
Defined in: src/modules/parsers/index.d.ts:79
Inherited from
orderedAttributes?
optionalorderedAttributes:IParseTreeAttribute[]
Defined in: src/modules/parsers/index.d.ts:80
Inherited from
IWikiASTNode.orderedAttributes
rule?
optionalrule:string
Defined in: src/modules/parsers/index.d.ts:82
If rule produce a multi-level tree, only top level node from a parse rule will have this.
Inherited from
start?
optionalstart:number
Defined in: src/modules/parsers/index.d.ts:83
Inherited from
type
type:
"codeblock"
Defined in: src/modules/parsers/index.d.ts:128