source: mainline/uspace/app/sbi/src/stree.h@ 09ababb7

lfn serial ticket/834-toolchain-update topic/fix-logger-deadlock topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 09ababb7 was 09ababb7, checked in by Jiri Svoboda <jiri@…>, 16 years ago

Add Sysel Bootstrap Interpreter (SBI) from Sysel repository rev. 53.

  • Property mode set to 100644
File size: 2.8 KB
Line 
1/*
2 * Copyright (c) 2010 Jiri Svoboda
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * - Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * - Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * - The name of the author may not be used to endorse or promote products
15 * derived from this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#ifndef STREE_H_
30#define STREE_H_
31
32#include "mytypes.h"
33
34stree_module_t *stree_module_new(void);
35stree_modm_t *stree_modm_new(modm_class_t mc);
36stree_csi_t *stree_csi_new(csi_class_t cc);
37stree_csimbr_t *stree_csimbr_new(csimbr_class_t cc);
38stree_fun_t *stree_fun_new(void);
39stree_var_t *stree_var_new(void);
40stree_prop_t *stree_prop_new(void);
41
42stree_fun_arg_t *stree_fun_arg_new(void);
43
44stree_stat_t *stree_stat_new(stat_class_t sc);
45stree_vdecl_t *stree_vdecl_new(void);
46stree_if_t *stree_if_new(void);
47stree_while_t *stree_while_new(void);
48stree_for_t *stree_for_new(void);
49stree_raise_t *stree_raise_new(void);
50stree_wef_t *stree_wef_new(void);
51stree_exps_t *stree_exps_new(void);
52stree_block_t *stree_block_new(void);
53
54stree_expr_t *stree_expr_new(expr_class_t ec);
55stree_assign_t *stree_assign_new(assign_class_t ac);
56stree_binop_t *stree_binop_new(binop_class_t bc);
57stree_access_t *stree_access_new(void);
58stree_call_t *stree_call_new(void);
59stree_nameref_t *stree_nameref_new(void);
60
61stree_ident_t *stree_ident_new(void);
62stree_literal_t *stree_literal_new(literal_class_t ltc);
63
64stree_texpr_t *stree_texpr_new(texpr_class_t tc);
65stree_tapply_t *stree_tapply_new(void);
66stree_taccess_t *stree_taccess_new(void);
67stree_tnameref_t *stree_tnameref_new(void);
68
69stree_symbol_t *stree_symbol_new(symbol_class_t sc);
70stree_program_t *stree_program_new(void);
71
72#endif
Note: See TracBrowser for help on using the repository browser.