mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
feat: add ReDef.t_spec
This commit is contained in:
parent
cd9973e800
commit
79b1c1394d
4 changed files with 10 additions and 4 deletions
|
@ -897,7 +897,7 @@ impl Context {
|
|||
Str,
|
||||
vec![kw(KW_PAT, Str), kw(KW_INTO, Str)],
|
||||
None,
|
||||
vec![],
|
||||
vec![kw(KW_COUNT, Int)],
|
||||
None,
|
||||
Str,
|
||||
);
|
||||
|
|
|
@ -744,6 +744,7 @@ const KW_EPSILON: &str = "epsilon";
|
|||
const KW_PATH: &str = "Path";
|
||||
const KW_NDIGITS: &str = "ndigits";
|
||||
const KW_BYTES_OR_BUFFER: &str = "bytes_or_buffer";
|
||||
const KW_COUNT: &str = "count";
|
||||
|
||||
pub fn builtins_path() -> PathBuf {
|
||||
erg_pystd_path().join("builtins.d.er")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue