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

decl_read.cc File Reference

#include "decl_read.h"
#include "decl_read_i.h"

Include dependency graph for decl_read.cc:

Include dependency graph

Go to the source code of this file.

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:23 2003 for VFiasco Semantics Compiler by doxygen1.2.15