mirror of
https://github.com/erg-lang/erg.git
synced 2025-07-13 16:15:15 +00:00
18 lines
572 B
Python
18 lines
572 B
Python
.Shlex! = 'shlex': ClassType
|
|
.Shlex!.
|
|
commenters: Str
|
|
wordchars: Str
|
|
whitespace: Str
|
|
escape: Str
|
|
quotes: Str
|
|
escapedquotes: Str
|
|
whitespace_split: Bool
|
|
infile: Str
|
|
__call__: (instream := Str, posix := Bool, punctuation_chars := Bool) -> .Shlex!
|
|
get_token!: (self: RefMut(.Shlex!)) => Str
|
|
push_token!: (self: RefMut(.Shlex!), token: Str) => NoneType
|
|
read_token!: (self: RefMut(.Shlex!)) => Str
|
|
|
|
.split: (s: Str, comments := Bool, posix := Bool) -> [Str; _]
|
|
.join: (split_command: Iterable(Str)) -> Str
|
|
.quote: (s: Str) -> Str
|