FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lpython/src/lpython/pickle.h at main · SudhanshuJoshi09/lpython · GitHub
SudhanshuJoshi09
/
lpython
Public
forked from
lcompilers/lpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
lpython
/
src
/
lpython
/
pickle.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (21 loc) · 1.11 KB
Breadcrumbs
lpython
/
src
/
lpython
/
pickle.h
Copy path
File metadata and controls
28 lines (21 loc) · 1.11 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
ifndef
LFORTRAN_PICKLE_H
#
define
LFORTRAN_PICKLE_H
#
include
<
lpython/python_ast.h
>
#
include
<
libasr/asr.h
>
#
include
<
libasr/location.h
>
namespace
LCompilers
::LPython {
//
Pickle an ASR node
std::string
pickle_python
(
AST
::
ast_t
&ast,
bool
colors=
false
,
bool
indent=
false
);
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_python
(
AST
::
ast_t
&ast,
bool
colors=
true
);
std::string
pickle_tree
(
ASR
::
asr_t
&asr,
bool
colors,
bool
show_intrinsic_modules);
std::string
pickle_tree
(
ASR
::TranslationUnit_t &asr,
bool
colors,
bool
show_intrinsic_modules);
std::string
pickle_json
(
AST
::
ast_t
&ast, LocationManager &lm);
std::string
pickle_json
(
ASR
::
asr_t
&asr, LocationManager &lm,
bool
show_intrinsic_modules);
std::string
pickle_json
(
ASR
::TranslationUnit_t &asr, LocationManager &lm,
bool
show_intrinsic_modules);
}
#
endif
//
LFORTRAN_PICKLE_H
Back
|
FazBrowse Home
|
New Git URL