Traqula
    Preparing search index...

    Interface SourceLocationInlinedSource

    Similar to SourceLocationSource but also carrying the source it related too. All sourceLocation nodes that are descends of this one, relate themselves to this source.

    interface SourceLocationInlinedSource {
        end: number;
        endOnNew: number;
        loc: SourceLocation;
        newSource: string;
        sourceLocationType: "inlinedSource";
        start: number;
        startOnNew: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    end: number
    endOnNew: number

    Behavior of the current loc, after replacing the source string.

    newSource: string

    The string that will be used as the source for this node and the descends of this node. Note that the generator will print the characters from newSource[0] until start. Likewise for the suffix.

    sourceLocationType: "inlinedSource"
    start: number

    The range that this node replaces in the context of the original source.

    startOnNew: number