scope.h

Go to the documentation of this file.
00001 #ifndef __SCOPE_H__
00002 #define __SCOPE_H__
00003 
00004 /*
00005  Copyright (c) 2006-2010 Trevor Williams
00006 
00007  This program is free software; you can redistribute it and/or modify
00008  it under the terms of the GNU General Public License as published by the Free Software
00009  Foundation; either version 2 of the License, or (at your option) any later version.
00010 
00011  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
00012  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00013  See the GNU General Public License for more details.
00014 
00015  You should have received a copy of the GNU General Public License along with this program;
00016  if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00017 */
00018 
00027 #include "defines.h"
00028 
00029 
00031 bool scope_find_param(
00032   const char* name,
00033   func_unit*  curr_funit,
00034   mod_parm**  found_parm,
00035   func_unit** found_funit,
00036   int         line
00037 );
00038 
00040 bool scope_find_signal(
00041   const char* name,
00042   func_unit*  curr_funit,
00043   vsignal**   found_sig,
00044   func_unit** found_funit,
00045   int         line
00046 );
00047 
00049 bool scope_find_task_function_namedblock(
00050   const char* name,
00051   int         type,
00052   func_unit*  curr_funit,
00053   func_unit** found_funit,
00054   int         line,
00055   bool        must_find,
00056   bool        rm_unnamed
00057 );
00058 
00060 func_unit* scope_get_parent_funit(
00061   funit_inst* root,
00062   const char* scope
00063 );
00064 
00066 func_unit* scope_get_parent_module(
00067   funit_inst* root,
00068   const char* scope
00069 );
00070 
00071 #endif
00072 
Generated on Sun Nov 21 00:55:36 2010 for Covered by  doxygen 1.6.3