Interface QueryCapture

A particular syntax node that was captured by a named pattern in a query.

interface QueryCapture {
    name: string;
    node: SyntaxNode;
}

Properties

Properties

name: string

The name that was used to capture the node in the query

The captured syntax node