Skip to main content

IMacroParseTreeNode

tw5-typed


tw5-typed / modules/parsers / IMacroParseTreeNode

Interface: IMacroParseTreeNode

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

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


name​

name: string

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


orderedAttributes?​

optional orderedAttributes: IParseTreeAttribute[]

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

Inherited from​

IWikiASTNode.orderedAttributes


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


type​

type: "macro"

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

Overrides​

IWikiASTNode.type


value​

value: IMacroCallParseTreeNode

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