Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

enum.h File Reference

#include <vector>
#include "symbol_table.h"
#include "type_rep.h"

Include dependency graph for enum.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  Enum_symbol
 Enumeration type. More...


Functions

Type parse_enum (Ptree *tree, Abstract_scope *scope, Ptree *name_for_anon)
 Parse an enumeration definition. More...


Function Documentation

Type parse_enum Ptree   tree,
Abstract_scope   scope,
Ptree   name_for_anon
 

Parse an enumeration definition.

Returns the generated type. Tree is ["enum" name-or-nil brace-or-missing]

Definition at line 92 of file enum.cc.

References Abstract_scope::add_symbol(), Ptree::Car(), Ptree::Cdr(), compile_error(), expect_ptree(), Ptree::First(), Symbol::get_kind(), Symbol_name::get_name(), Type_symbol::get_type(), Symbol::is_defined(), Symbol_name::is_qualified(), Symbol_name::is_template(), Ptree::IsLeaf(), Symbol::k_Enum, Abstract_scope::lookup_here(), Enum_symbol::process_value(), Ptree::Second(), Type_symbol::set_defined(), Symbol_pair::tag, Ptree::Third(), and Ptree::ToString().

Referenced by Type_reader::read_type().


Generated on Mon Feb 10 17:33:32 2003 for VFiasco Semantics Compiler by doxygen1.2.15