PIPS
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "genC.h"
#include "c_parser_private.h"
Go to the source code of this file.
Functions | |
c_parser_context | copy_c_parser_context (c_parser_context p) |
C_PARSER_CONTEXT. More... | |
void | free_c_parser_context (c_parser_context p) |
c_parser_context | check_c_parser_context (c_parser_context p) |
bool | c_parser_context_consistent_p (c_parser_context p) |
bool | c_parser_context_defined_p (c_parser_context p) |
list | gen_c_parser_context_cons (c_parser_context p, list l) |
void | c_parser_context_assign_contents (c_parser_context r, c_parser_context v) |
void | c_parser_context_non_recursive_free (c_parser_context p) |
void | write_c_parser_context (FILE *f, c_parser_context p) |
c_parser_context | read_c_parser_context (FILE *f) |
c_parser_context | make_c_parser_context (string a1, type a2, storage a3, list a4, bool a5, bool a6) |
void c_parser_context_assign_contents | ( | c_parser_context | r, |
c_parser_context | v | ||
) |
Definition at line 35 of file c_parser_private.c.
References c_parser_context_defined_p(), check_c_parser_context(), and message_assert.
bool c_parser_context_consistent_p | ( | c_parser_context | p | ) |
Definition at line 25 of file c_parser_private.c.
References check_c_parser_context(), and gen_consistent_p().
bool c_parser_context_defined_p | ( | c_parser_context | p | ) |
Definition at line 29 of file c_parser_private.c.
References gen_defined_p().
Referenced by c_parser_context_assign_contents().
void c_parser_context_non_recursive_free | ( | c_parser_context | p | ) |
Definition at line 42 of file c_parser_private.c.
References free().
c_parser_context check_c_parser_context | ( | c_parser_context | p | ) |
Definition at line 22 of file c_parser_private.c.
References c_parser_context_domain, and gen_check().
Referenced by c_parser_context_assign_contents(), and c_parser_context_consistent_p().
c_parser_context copy_c_parser_context | ( | c_parser_context | p | ) |
C_PARSER_CONTEXT.
Definition at line 16 of file c_parser_private.c.
References gen_copy_tree().
Referenced by GetContextCopy().
void free_c_parser_context | ( | c_parser_context | p | ) |
Definition at line 19 of file c_parser_private.c.
References gen_free().
Referenced by ExitScope().
list gen_c_parser_context_cons | ( | c_parser_context | p, |
list | l | ||
) |
Definition at line 32 of file c_parser_private.c.
References C_PARSER_CONTEXT_NEWGEN_DOMAIN, and gen_typed_cons().
c_parser_context make_c_parser_context | ( | string | a1, |
type | a2, | ||
storage | a3, | ||
list | a4, | ||
bool | a5, | ||
bool | a6 | ||
) |
Definition at line 52 of file c_parser_private.c.
References c_parser_context_domain, gen_alloc(), and GEN_CHECK_ALLOC.
Referenced by CreateDefaultContext().
c_parser_context read_c_parser_context | ( | FILE * | f | ) |
Definition at line 49 of file c_parser_private.c.
References f(), and gen_read().
void write_c_parser_context | ( | FILE * | f, |
c_parser_context | p | ||
) |
Definition at line 46 of file c_parser_private.c.
References f(), and gen_write().