/* TREELANG Compiler definitions for interfacing to treetree.c (compiler back end interface). Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING3. If not see . In other words, you are welcome to use, share and improve this program. You are forbidden to forbid anyone else to use, share and improve what you give them. Help stamp out software-hoarding! --------------------------------------------------------------------------- Written by Tim Josling 1999, 2000, 2001, based in part on other parts of the GCC compiler. */ tree tree_code_init_parameters (void); tree tree_code_add_parameter (tree list, tree proto_exp, tree exp); tree tree_code_get_integer_value (const unsigned char *chars, unsigned int length); void tree_code_generate_return (tree type, tree exp); void tree_ggc_storage_always_used (void *m); tree tree_code_get_expression (unsigned int exp_type, tree type, tree op1, tree op2, tree op3, location_t loc); tree tree_code_get_numeric_type (unsigned int size1, unsigned int sign1); void tree_code_create_function_initial (tree prev_saved, location_t loc); void tree_code_create_function_wrapup (location_t loc); tree tree_code_create_function_prototype (const unsigned char *chars, unsigned int storage_class, unsigned int ret_type, struct prod_token_parm_item* parms, location_t loc); tree tree_code_create_variable (unsigned int storage_class, const unsigned char *chars, unsigned int length, unsigned int expression_type, tree init, location_t loc); void tree_code_output_expression_statement (tree code, location_t loc); void tree_code_if_start (tree exp, location_t loc); void tree_code_if_else (location_t loc); void tree_code_if_end (location_t loc); tree tree_code_get_type (int type_num); void treelang_init_decl_processing (void); void treelang_finish (void); bool treelang_init (void); unsigned int treelang_init_options (unsigned int, const char **); int treelang_handle_option (size_t scode, const char *arg, int value); void treelang_parse_file (int debug_flag); void push_var_level (void); void pop_var_level (void); const char* get_string (const char *s, size_t l);