-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpkg.generated.mbti
More file actions
42 lines (34 loc) · 1.03 KB
/
pkg.generated.mbti
File metadata and controls
42 lines (34 loc) · 1.03 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
// Generated using `moon info`, DON'T EDIT IT
package "bobzhang/toml"
import {
"bobzhang/toml/internal/tokenize",
"moonbitlang/core/debug",
}
// Values
pub fn parse(String) -> TomlValue raise
// Errors
// Types and methods
pub struct Parser {
tokens : Array[@tokenize.Token]
mut position : Int
}
pub fn Parser::new(Array[@tokenize.Token]) -> Self
pub fn Parser::update_view(Self, ArrayView[@tokenize.Token]) -> Unit
pub fn Parser::view(Self, skip_newlines? : Bool) -> ArrayView[@tokenize.Token]
pub(all) enum TomlValue {
TomlString(String)
TomlInteger(Int64)
TomlFloat(Double)
TomlBoolean(Bool)
TomlArray(Array[TomlValue])
TomlTable(Map[String, TomlValue])
TomlDateTime(@tokenize.TomlDateTime)
} derive(Eq, @debug.Debug)
pub fn TomlValue::datetime_info(Self) -> (String, String)?
pub fn TomlValue::is_homogeneous_array(Array[Self]) -> Bool
pub fn TomlValue::to_string(Self) -> String
pub fn TomlValue::type_name(Self) -> String
pub fn TomlValue::validate(Self) -> Bool
pub impl Show for TomlValue
// Type aliases
// Traits