Langium - v4.0.0
    Preparing search index...

    Interface PropertyMetaData

    Describes the meta data of a property of an AST node.

    interface PropertyMetaData {
        defaultValue?: PropertyType;
        name: string;
        referenceType?: string;
    }
    Index

    Properties

    defaultValue?: PropertyType

    Indicates that the property is mandatory in the AST node. For example, if an AST node contains an array, but no elements of this array have been parsed, we still expect an empty array instead of undefined.

    name: string

    The name of this property.

    referenceType?: string

    If the property is a reference, this is the type of the reference target.