mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-03 05:54:33 +00:00
feat: add Frame
type
This commit is contained in:
parent
0a24c0cb77
commit
fc75151f2a
4 changed files with 32 additions and 2 deletions
|
@ -202,6 +202,7 @@ const CLASS_TYPE: &str = "ClassType";
|
|||
const TRAIT: &str = "Trait";
|
||||
const TRAIT_TYPE: &str = "TraitType";
|
||||
const CODE: &str = "Code";
|
||||
const FRAME: &str = "Frame";
|
||||
const FUNC_MRO: &str = "mro";
|
||||
const FUNC_CO_ARGCOUNT: &str = "co_argcount";
|
||||
const FUNC_CO_VARNAMES: &str = "co_varnames";
|
||||
|
@ -322,6 +323,7 @@ const FUNC_STR__: &str = "str__";
|
|||
const FUNC_TYPE: &str = "type";
|
||||
const CODE_TYPE: &str = "CodeType";
|
||||
const MODULE_TYPE: &str = "ModuleType";
|
||||
const FRAME_TYPE: &str = "FrameType";
|
||||
const FUNC_LIST: &str = "list";
|
||||
const _FUNC_SET: &str = "set";
|
||||
const FUNC_DICT: &str = "dict";
|
||||
|
@ -476,6 +478,12 @@ const SITEBUILTINS_PRINTER: &str = "_sitebuiltins._Printer";
|
|||
const PY: &str = "py";
|
||||
const PYIMPORT: &str = "pyimport";
|
||||
const PYCOMPILE: &str = "pycompile";
|
||||
const F_BUILTINS: &str = "f_builtins";
|
||||
const F_CODE: &str = "f_code";
|
||||
const F_GLOBALS: &str = "f_globals";
|
||||
const F_LASTI: &str = "f_lasti";
|
||||
const F_LINENO: &str = "f_lineno";
|
||||
const F_LOCALS: &str = "f_locals";
|
||||
|
||||
const TY_A: &str = "A";
|
||||
const TY_B: &str = "B";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue