Structure representing current VimL to messagepack conversion state. More...
#include <typval_encode.h>
Data Fields | |
MPConvStackValType | type |
Type of the stack entry. More... | |
typval_T * | tv |
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... | |
Structure representing current VimL to messagepack conversion state.
struct { ... } MPConvStackVal::a |
State of list or generic mapping conversion.
typval_T* MPConvStackVal::arg |
Currently converted argument.
typval_T* MPConvStackVal::argv |
Start of the argument list.
struct { ... } MPConvStackVal::d |
State of dictionary conversion.
union { ... } MPConvStackVal::data |
Data to convert.
dict_T* MPConvStackVal::dict |
Currently converted dictionary.
dict_T** MPConvStackVal::dictp |
Location where that dictionary is stored. Normally it is &.tv->vval.v_dict, but not when converting partials.
hashitem_T* MPConvStackVal::hi |
Currently converted dictionary item.
struct { ... } MPConvStackVal::l |
State of list or generic mapping conversion.
listitem_T* MPConvStackVal::li |
Currently converted list item.
list_T* MPConvStackVal::list |
Currently converted list.
struct { ... } MPConvStackVal::p |
State of partial conversion.
partial_T* MPConvStackVal::pt |
Currently converted partial.
int MPConvStackVal::saved_copyID |
copyID item used to have.
MPConvPartialStage MPConvStackVal::stage |
Stage at which partial is being converted.
size_t MPConvStackVal::todo |
Amount of items left to process.
Number of items left to process.
MPConvStackValType MPConvStackVal::type |
Type of the stack entry.