potion  0.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Potion_State Struct Reference

the global interpreter state P. currently singleton (not threads yet) More...

#include <potion.h>

+ Collaboration diagram for Potion_State:

Data Fields

 PN_OBJECT_HEADER
 PNType vt; PNUniq uniq. More...
 
PNTarget target
 the jit More...
 
struct PNTablestrings
 table of all strings More...
 
PN lobby
 root namespace More...
 
PNFlex *volatile vts
 built in types More...
 
Potion_Flags flags
 vm flags: execution model and debug flags More...
 
struct PNMemorymem
 allocator/gc More...
 
PN call
 
PN callset
 generic call and setter More...
 
int prec
 double precision More...
 
PN input
 
PN source
 parser input and output (AST) More...
 
int yypos
 parser buffer position More...
 
PNAsm *volatile pbuf
 parser buffer More...
 
PN line
 currently parsed line (for debug) More...
 
PN_SIZE fileno
 currently parsed file More...
 
PN unclosed
 used by parser for named block endings More...
 

Detailed Description

the global interpreter state P. currently singleton (not threads yet)

Definition at line 644 of file potion.h.

Field Documentation

Potion_State::PN_OBJECT_HEADER

PNType vt; PNUniq uniq.

Definition at line 645 of file potion.h.

PNTarget Potion_State::target

the jit

Definition at line 646 of file potion.h.

struct PNTable* Potion_State::strings

table of all strings

Definition at line 647 of file potion.h.

PN Potion_State::lobby

root namespace

Definition at line 648 of file potion.h.

PNFlex* volatile Potion_State::vts

built in types

Definition at line 649 of file potion.h.

Potion_Flags Potion_State::flags

vm flags: execution model and debug flags

Definition at line 650 of file potion.h.

struct PNMemory* Potion_State::mem

allocator/gc

Definition at line 651 of file potion.h.

PN Potion_State::call

Definition at line 652 of file potion.h.

PN Potion_State::callset

generic call and setter

Definition at line 652 of file potion.h.

int Potion_State::prec

double precision

Definition at line 653 of file potion.h.

PN Potion_State::input

Definition at line 656 of file potion.h.

PN Potion_State::source

parser input and output (AST)

Definition at line 656 of file potion.h.

int Potion_State::yypos

parser buffer position

Definition at line 657 of file potion.h.

PNAsm* volatile Potion_State::pbuf

parser buffer

Definition at line 658 of file potion.h.

PN Potion_State::line

currently parsed line (for debug)

Definition at line 659 of file potion.h.

PN_SIZE Potion_State::fileno

currently parsed file

Definition at line 660 of file potion.h.

PN Potion_State::unclosed

used by parser for named block endings

Definition at line 661 of file potion.h.


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