Source represents an interface for the Node.source property.

interface Source {
    end?: Node.Position;
    input: Input_;
    start?: Node.Position;
}

Properties

Properties

The inclusive ending position for the source code of a node.

input: Input_

The source file from where a node has originated.

start?: Node.Position

The inclusive starting position for the source code of a node.