Piethon  1.0
A Python-like interpreter using flex and bison.
Public Member Functions | Public Attributes | List of all members
Value Union Reference

#include <number.h>

Collaboration diagram for Value:
Collaboration graph

Public Member Functions

 Value (int _i)
 
 Value (double _f)
 

Public Attributes

int i
 
double f
 

Detailed Description

Definition at line 13 of file number.h.

Constructor & Destructor Documentation

◆ Value() [1/2]

Value::Value ( int  _i)
inline

Definition at line 14 of file number.h.

14 : i(_i) { }
int i
Definition: number.h:17

◆ Value() [2/2]

Value::Value ( double  _f)
inline

Definition at line 15 of file number.h.

15 : f(_f) { }
double f
Definition: number.h:18

Member Data Documentation

◆ f

double Value::f

Definition at line 18 of file number.h.

◆ i

int Value::i

Definition at line 17 of file number.h.


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