nixd
Loading...
Searching...
No Matches
Public Attributes | List of all members
nixd::ValueMeta Struct Reference

General metadata of all nix::Values. More...

#include <AttrSet.h>

Public Attributes

int Type
 Type of this value.
 
std::optional< lspserver::LocationLocation
 Location of the value.
 

Detailed Description

General metadata of all nix::Values.

Definition at line 64 of file AttrSet.h.

Member Data Documentation

◆ Location

std::optional<lspserver::Location> nixd::ValueMeta::Location

Location of the value.

This presence of this value is determined by the nix evaluator. In nix 2.19.x and later:

  1. It is available only for attribute sets and lambdas.
  2. There is no practical "range" information, only the starting point.

Definition at line 74 of file AttrSet.h.

Referenced by nixd::fromJSON().

◆ Type

int nixd::ValueMeta::Type

Type of this value.

Definition at line 66 of file AttrSet.h.

Referenced by nixd::fromJSON().


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