sun::lsp::Target

sun::lsp::Target

struct · Source (opens in a new tab)

struct sun::lsp::Target

The node under the cursor with its ancestors (outermost first) and the type parameter bindings in effect when it sits inside a generic body.

Public Functions

node

public · function · Source (opens in a new tab)

const ExprAST & sun::lsp::Target::node() const

Returns the syntax node selected at the requested source offset.

Related: ExprAST

Public Fields

bindings

public · variable · Source (opens in a new tab)

Bindings sun::lsp::Target::bindings

No documentation comment.

Related: Bindings

chain

public · variable · Source (opens in a new tab)

std::vector<const ExprAST*> sun::lsp::Target::chain

No documentation comment.

Related: ExprAST