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

scope.cc

Go to the documentation of this file.
00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
00002 
00003 #include "scope.h"
00004 #include "scope_i.h"
00005 
00006 
00007 #line 66 "scope.cpp"
00008 
00011 Symbol_pair 
00012 Abstract_scope::lookup_unqualified(std::string name)
00013 {
00014     Symbol_pair rv = lookup_here(name, false);
00015     if (rv)
00016         return rv;
00017 
00018     Abstract_scope* p = this;
00019     while ((p = p->get_parent()))
00020         if ((rv = p->lookup_here(name, false)))
00021             return rv;
00022 
00023     return Symbol_pair();
00024 }
00025 
00026 #line 83 "scope.cpp"
00027 
00031 bool
00032 Abstract_scope::is_constructor(Ptree* tree)
00033 {
00034     return false;
00035 }
00036 
00037 #line 92 "scope.cpp"
00038 
00042 void
00043 Abstract_scope::process_pending()
00044 { }
00045 
00046 #line 99 "scope.cpp"
00047 
00049 Abstract_scope*
00050 Abstract_scope::get_global_scope()
00051 {
00052     Abstract_scope* p = this;
00053     while (p->get_parent())
00054         p = p->get_parent();
00055     return p;
00056 }

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