Zen-C
Loading...
Searching...
No Matches
LSPRange Struct Reference

A range in the source code mapping to semantic info. More...

#include <lsp_index.h>

Collaboration diagram for LSPRange:

Data Fields

int start_line
 Start line (1-based).
 
int start_col
 Start column (1-based).
 
int end_line
 End line.
 
int end_col
 End column (approximated).
 
RangeType type
 Type of range (def or ref).
 
int def_line
 Line of definition (if reference).
 
int def_col
 Column of definition (if reference).
 
char * hover_text
 Tooltip text / signature.
 
ASTNodenode
 Associated AST node.
 
struct LSPRangenext
 

Detailed Description

A range in the source code mapping to semantic info.

Field Documentation

◆ def_col

int LSPRange::def_col

Column of definition (if reference).

◆ def_line

int LSPRange::def_line

Line of definition (if reference).

◆ end_col

int LSPRange::end_col

End column (approximated).

◆ end_line

int LSPRange::end_line

End line.

◆ hover_text

char* LSPRange::hover_text

Tooltip text / signature.

◆ next

struct LSPRange* LSPRange::next

◆ node

ASTNode* LSPRange::node

Associated AST node.

◆ start_col

int LSPRange::start_col

Start column (1-based).

◆ start_line

int LSPRange::start_line

Start line (1-based).

◆ type

RangeType LSPRange::type

Type of range (def or ref).


The documentation for this struct was generated from the following file: