Skip to main content

ICustomParseTreeNode

tw5-typed


tw5-typed / modules/parsers / ICustomParseTreeNode

Interface: ICustomParseTreeNode

Defined in: src/modules/parsers/index.d.ts:147

Extends​

Properties​

attributes?​

optional attributes: Record<string, IParseTreeAttribute>

Defined in: src/modules/parsers/index.d.ts:74

Inherited from​

IWikiASTNode.attributes


children?​

optional children: IParseTreeNode[]

Defined in: src/modules/parsers/index.d.ts:75

Inherited from​

IWikiASTNode.children


end?​

optional end: number

Defined in: src/modules/parsers/index.d.ts:76

Inherited from​

IWikiASTNode.end


isBlock?​

optional isBlock: boolean

Defined in: src/modules/parsers/index.d.ts:77

Inherited from​

IWikiASTNode.isBlock


isMacroDefinition?​

optional isMacroDefinition: boolean

Defined in: src/modules/parsers/index.d.ts:78

Inherited from​

IWikiASTNode.isMacroDefinition


isSelfClosing?​

optional isSelfClosing: boolean

Defined in: src/modules/parsers/index.d.ts:79

Inherited from​

IWikiASTNode.isSelfClosing


orderedAttributes?​

optional orderedAttributes: IParseTreeAttribute[]

Defined in: src/modules/parsers/index.d.ts:80

Inherited from​

IWikiASTNode.orderedAttributes


params​

params: IMacroParameterCallParseTreeNode[]

Defined in: src/modules/parsers/index.d.ts:148


rule?​

optional rule: 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​

IWikiASTNode.rule


start?​

optional start: number

Defined in: src/modules/parsers/index.d.ts:83

Inherited from​

IWikiASTNode.start


tag?​

optional tag: string

Defined in: src/modules/parsers/index.d.ts:149


text?​

optional text: string

Defined in: src/modules/parsers/index.d.ts:150


type​

type: string

Defined in: src/modules/parsers/index.d.ts:151

Overrides​

IWikiASTNode.type