mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 02:39:20 +00:00
Rename dir: compiler
-> crates
This commit is contained in:
parent
e1004b538d
commit
a127564b31
221 changed files with 17 additions and 19 deletions
5
crates/erg_compiler/lib/pystd/html.d/__init__.d.er
Normal file
5
crates/erg_compiler/lib/pystd/html.d/__init__.d.er
Normal file
|
@ -0,0 +1,5 @@
|
|||
.parser = pyimport "parser"
|
||||
.entities = pyimport "entities"
|
||||
|
||||
.escape: (s: Str, quote := Bool) -> Str
|
||||
.unescape: (s: Str,) -> Str
|
4
crates/erg_compiler/lib/pystd/html.d/entities.d.er
Normal file
4
crates/erg_compiler/lib/pystd/html.d/entities.d.er
Normal file
|
@ -0,0 +1,4 @@
|
|||
.html5: {Str: Str}
|
||||
.entitydefs: {Str: Str}
|
||||
.name2codepoint: {Str: Nat}
|
||||
.codepoint2name: {Nat: Str}
|
4
crates/erg_compiler/lib/pystd/html.d/parser.d.er
Normal file
4
crates/erg_compiler/lib/pystd/html.d/parser.d.er
Normal file
|
@ -0,0 +1,4 @@
|
|||
.HTMLParser: ClassType
|
||||
.HTMLParser.feed!: (self: RefMut(.HTMLParser), data: Str) => NoneType
|
||||
.HTMLParser.close!: (self: .HTMLParser,) => NoneType
|
||||
.HTMLParser.reset!: (self: RefMut(.HTMLParser),) => NoneType
|
Loading…
Add table
Add a link
Reference in a new issue