SheetXL - v0.3.20
    Preparing search index...

    Represents a portion of a formula for rendering typical in an editor.

    interface FormulaToken {
        ctx?: FormulaTokenContext;
        evalIndex?: number;
        refIndex?: number;
        type: string;
        value: any;
    }
    Index

    Properties

    If the token is part of a a function this will be set. This will be the 'closest' function if nested.

    evalIndex?: number

    Allows for partial formula evaluation for tooltips or formula writing. Only available for tokens types that can be evaluated.

    To determine the 'token span' for the evaluation you can can tokens left and right until you reach a token that has a larger evalIndex or there are no more tokens.

    refIndex?: number

    Indicates that the token is part of a reference.

    type: string

    The type of token.

    value: any

    This is either a string or a range coordinates.

    If this is a IRange.Coords then is it relative.