Skip to main content

IWikiASTNode

tw5-typed


tw5-typed / modules/parsers / IWikiASTNode

Interface: IWikiASTNode

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

Extended by

Properties

attributes?

optional attributes: Record<string, IParseTreeAttribute>

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


children?

optional children: IParseTreeNode[]

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


end?

optional end: number

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


isBlock?

optional isBlock: boolean

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


isMacroDefinition?

optional isMacroDefinition: boolean

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


isSelfClosing?

optional isSelfClosing: boolean

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


orderedAttributes?

optional orderedAttributes: IParseTreeAttribute[]

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


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.


start?

optional start: number

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


type

type: string

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