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

decl_read.h File Reference

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

Include dependency graph for decl_read.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  Declaration_reader
class  Function_declaration_reader
 Declaration reader for function args. More...


Functions

bool parse_abstract_declarator (Ptree *tree, Abstract_scope *scope, Type *t)
 Parse abstract declarator. More...

Ptreeget_name_from_declarator (Ptree *tree, Abstract_scope *scope)
 Given a declarator, return the declared name. More...


Function Documentation

Ptree* get_name_from_declarator Ptree   tree,
Abstract_scope   scope
 

Given a declarator, return the declared name.

The scope is required, but is not used.

Definition at line 393 of file decl_read.cc.

Referenced by Template_visitor::visit_function(), and Template_visitor::visit_name_declaration().

bool parse_abstract_declarator Ptree   tree,
Abstract_scope   scope,
Type   t
 

Parse abstract declarator.

These are used in cast syntax.

Parameters:
tree  input tree
scope  scope to look up for names
t  [in] type from parse_type(), [out] final type
Returns:
true on success

Definition at line 378 of file decl_read.cc.

References Type::is_valid(), Declaration_reader::parse_declarator(), and Ad_reader::t.

Referenced by Expr_annotator::get_cast_type(), Symbol_name::init_name(), parse_template_arg_list(), Expr_annotator::visit_cast(), Expr_annotator::visit_new(), and Expr_annotator::visit_sizeof().


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