1/**
2 * \file
3 * \brief Code generator header file
4 */
5
6/*
7 * Copyright (c) 2011, ETH Zurich.
8 * All rights reserved.
9 *
10 * This file is distributed under the terms in the attached LICENSE file.
11 * If you do not find this file, copies can be found by writing to:
12 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
13 */
14
15#ifndef CODE_GENERATOR_H_
16#define CODE_GENERATOR_H_
17
18#include <barrelfish/barrelfish.h>
19#include <octopus/parser/ast.h>
20#include <eclipse.h>
21
22struct skb_ec_terms {
23    pword name;
24    pword attribute_list;
25    pword constraint_list;
26};
27
28errval_t transform_record(struct ast_object* ast, struct skb_ec_terms* record);
29
30#endif // GENERATOR_H_
31