Skip to content

@yantrix/yantrix-parser v0.5.2 • Docs


Yantrix API / @yantrix/yantrix-parser / YantrixAstReflection

Class: YantrixAstReflection ​

Extends ​

  • AbstractAstReflection

Constructors ​

new YantrixAstReflection() ​

ts
new YantrixAstReflection(): YantrixAstReflection

Returns ​

YantrixAstReflection

Inherited from ​

langium.AbstractAstReflection.constructor

Methods ​

getAllTypes() ​

ts
getAllTypes(): string[]

Returns ​

string[]

Overrides ​

langium.AbstractAstReflection.getAllTypes


getReferenceType() ​

ts
getReferenceType(refInfo): string

Parameters ​

• refInfo: ReferenceInfo

Returns ​

string

Overrides ​

langium.AbstractAstReflection.getReferenceType


getTypeMetaData() ​

ts
getTypeMetaData(type): TypeMetaData

Parameters ​

• type: string

Returns ​

TypeMetaData

Overrides ​

langium.AbstractAstReflection.getTypeMetaData