#include <string.h>
#include <basicnodes/basic_factory.h>
#include <typebuilder/type_builder.h>
#include <utils/trash_utils.h>
#include <utils/type_utils.h>
#include <utils/expression_utils.h>
#include <suifkernel/command_line_parsing.h>
#include <utils/node_builder.h>
#include <utils/cloning_utils.h>
#include <suifkernel/utilities.h>
#include "source_lang_support.h"
Functions | |
const LString | k_source_language ("source_language") |
const LString | k_c_lang ("c") |
const LString | k_fortran_lang ("fortran") |
const LString | k_c_plus_plus_lang ("c_plus_plus") |
const LString | k_java_lang ("java") |
const LString | k_undef_lang ("undef source lang") |
void | set_source_lang (ProcedureSymbol* proc_sym, LString lang) |
Set the source language for proc_sym to lang. | |
LString | get_source_lang (ProcedureSymbol* proc_sym) |
Get the source language for proc_sym. More... | |
void | set_source_language (FileSetBlock* fsb, LString lang) |
Set the language for all procedure symbols in fsb. | |
Variables | |
LString | lang_names [] = { k_c_lang, k_fortran_lang, k_c_plus_plus_lang, k_java_lang, k_undef_lang } |
|
Get the source language for proc_sym.
If none is recorded, k_undef_lang is returned.
|
|
|
|
|
|
|
Set the source language for proc_sym to lang.
|
Set the language for all procedure symbols in fsb.
|