forked from lcompilers/lpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpickle.h
More file actions
20 lines (14 loc) · 663 Bytes
/
Copy pathpickle.h
File metadata and controls
20 lines (14 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef LFORTRAN_PICKLE_H
#define LFORTRAN_PICKLE_H
#include <libasr/asr.h>
namespace LFortran {
// Pickle an ASR node
std::string pickle(ASR::asr_t &asr, bool colors=false, bool indent=false,
bool show_intrinsic_modules=false);
std::string pickle(ASR::TranslationUnit_t &asr, bool colors=false,
bool indent=false, bool show_intrinsic_modules=false);
// Print the tree structure
std::string pickle_tree(LFortran::ASR::asr_t &asr, bool colors, bool show_intrinsic_modules);
std::string pickle_tree(LFortran::ASR::TranslationUnit_t &asr, bool colors, bool show_intrinsic_modules);
}
#endif // LFORTRAN_PICKLE_H