@eagleoutice/flowr - v2.10.3
    Preparing search index...

    Interface Leaf<Info, LexemeType>

    A helper interface we use to "mark" leaf nodes.

    Please be aware, that this is not marking from a language perspective, as it is equivalent to the RAstNodeBase interface. It is intended to help humans understand the code.

    interface Leaf<Info = NoInfo, LexemeType = string> {
        info: Info & Source;
        lexeme: LexemeType;
        type: RType;
        [key: string]: unknown;
    }

    Type Parameters

    • Info = NoInfo
    • LexemeType = string

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown

    Hierarchy-Diagram

    UML class diagram of Leaf
    Index

    Properties

    Properties

    info: Info & Source

    allows to attach additional information to the node

    lexeme: LexemeType

    the original string retrieved from R, can be used for further identification

    type: RType