Purple  0.1
Standard Language Specification
Public Attributes | List of all members
Type Struct Reference

Container for type data. More...

#include <type.h>

Collaboration diagram for Type:
Collaboration graph

Public Attributes

TokenType token_type
 
bool is_function
 
union {
   Number   number
 
   Function   function
 
value
 

Detailed Description

Container for type data.

Member Data Documentation

◆ function

Function Type::function

◆ is_function

bool Type::is_function

Whether or not this is the type of a function

◆ number

Number Type::number

◆ token_type

TokenType Type::token_type

Type of this type

◆ 

union { ... } Type::value

Value of this type


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