Data Fields
MPConvStackVal Struct Reference

Structure representing current VimL to messagepack conversion state. More...

#include <typval_encode.h>

Data Fields

MPConvStackValType type
 Type of the stack entry. More...
 
typval_Ttv
 Currently converted typval_T. More...
 
int saved_copyID
 copyID item used to have. More...
 
union {
   struct {
      dict_T *   dict
 Currently converted dictionary. More...
 
      dict_T **   dictp
 
      hashitem_T *   hi
 Currently converted dictionary item. More...
 
      size_t   todo
 Amount of items left to process. More...
 
   }   d
 State of dictionary conversion. More...
 
   struct {
      list_T *   list
 Currently converted list. More...
 
      listitem_T *   li
 Currently converted list item. More...
 
   }   l
 State of list or generic mapping conversion. More...
 
   struct {
      MPConvPartialStage   stage
 Stage at which partial is being converted. More...
 
      partial_T *   pt
 Currently converted partial. More...
 
   }   p
 State of partial conversion. More...
 
   struct {
      typval_T *   arg
 Currently converted argument. More...
 
      typval_T *   argv
 Start of the argument list. More...
 
      size_t   todo
 Number of items left to process. More...
 
   }   a
 State of list or generic mapping conversion. More...
 
data
 Data to convert. More...
 

Detailed Description

Structure representing current VimL to messagepack conversion state.

Field Documentation

◆ a

struct { ... } MPConvStackVal::a

State of list or generic mapping conversion.

◆ arg

typval_T* MPConvStackVal::arg

Currently converted argument.

◆ argv

typval_T* MPConvStackVal::argv

Start of the argument list.

◆ d

struct { ... } MPConvStackVal::d

State of dictionary conversion.

◆ data

union { ... } MPConvStackVal::data

Data to convert.

◆ dict

dict_T* MPConvStackVal::dict

Currently converted dictionary.

◆ dictp

dict_T** MPConvStackVal::dictp

Location where that dictionary is stored. Normally it is &.tv->vval.v_dict, but not when converting partials.

◆ hi

hashitem_T* MPConvStackVal::hi

Currently converted dictionary item.

◆ l

struct { ... } MPConvStackVal::l

State of list or generic mapping conversion.

◆ li

listitem_T* MPConvStackVal::li

Currently converted list item.

◆ list

list_T* MPConvStackVal::list

Currently converted list.

◆ p

struct { ... } MPConvStackVal::p

State of partial conversion.

◆ pt

partial_T* MPConvStackVal::pt

Currently converted partial.

◆ saved_copyID

int MPConvStackVal::saved_copyID

copyID item used to have.

◆ stage

MPConvPartialStage MPConvStackVal::stage

Stage at which partial is being converted.

◆ todo

size_t MPConvStackVal::todo

Amount of items left to process.

Number of items left to process.

◆ tv

typval_T* MPConvStackVal::tv

Currently converted typval_T.

◆ type

MPConvStackValType MPConvStackVal::type

Type of the stack entry.


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