ergo
variable Struct Reference

describes a variable recognized by the scripting system. More...

#include <ergo_scripted.h>

Public Attributes

const char * name
 
const char * description
 
union {
   char *   str
 
   double   num
 
   int   vint
 
   struct variable *   list
 
v
 
enum VarType type
 
struct variablenext
 

Detailed Description

describes a variable recognized by the scripting system.

Member Data Documentation

◆ description

const char* variable::description

Referenced by es_print_help_var(), and variable_new().

◆ list

struct variable* variable::list

Referenced by es_find_var(), and var_print_tree().

◆ name

◆ next

struct variable* variable::next

Referenced by es_find_var(), and var_print_tree().

◆ num

double variable::num

Referenced by var_print_tree().

◆ str

char* variable::str

◆ type

enum VarType variable::type

◆ v

◆ vint

int variable::vint

Referenced by var_print_tree().


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