Back to index

texmacs  1.0.7.15
std_environment.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : std_environment.hpp
00004 * DESCRIPTION: environments for standard TeXmacs style rewriting mechanism
00005 * COPYRIGHT  : (C) 2006  Joris van der Hoeven
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef STD_ENVIRONMENT_H
00013 #define STD_ENVIRONMENT_H
00014 #include "basic_environment.hpp"
00015 #include "hashmap.hpp"
00016 
00017 void primitive (environment& env, hashmap<string,tree> h);
00018 void assign (environment& env, assoc_environment local);
00019 void begin_with (environment& env, assoc_environment local);
00020 void end_with (environment& env);
00021 
00022 #ifdef CLASSICAL_MACRO_EXPANSION
00023 void macro_down (environment& env, assoc_environment local);
00024 void macro_redown (environment& env, basic_environment local);
00025 void macro_up (environment& env);
00026 bool macro_top_level (environment& env);
00027 basic_environment macro_arguments (environment& env);
00028 #endif // CLASSICAL_MACRO_EXPANSION
00029 
00030 #endif // defined STD_ENVIRONMENT_H