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

    access can be a number, a variable or an expression that resolves to one, a filter etc.

    interface RIndexAccess<Info = NoInfo> {
        access: readonly ("<>" | RArgument<Info>)[];
        accessed: RNode<Info>;
        info: Info & Source;
        lexeme: string;
        location: SourceRange;
        operator: "[" | "[[";
        type: Access;
        [key: string]: unknown;
    }

    Type Parameters

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown

    Hierarchy-Diagram

    UML class diagram of RIndexAccess
    Index

    Properties

    access: readonly ("<>" | RArgument<Info>)[]

    is null if the access is empty, e.g. a[,3]

    accessed: RNode<Info>

    the accessed container/variable/expression

    info: Info & Source

    allows to attach additional information to the node

    lexeme: string

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

    location: SourceRange

    The location may differ from what is stated in Source#fullRange as it represents the location identified by the R parser.

    Source#fullRange

    operator: "[" | "[["
    type: Access