Skip to content

Commit f8d2624

Browse files
committed
exclude mbti from repo
1 parent 66816af commit f8d2624

2 files changed

Lines changed: 79 additions & 0 deletions

File tree

src/lib/lib.mbti

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
package tiye/cirru-parser/lib
2+
3+
// Values
4+
fn format(Array[Cirru], CirruWriterOptions) -> String!FormatCirruError
5+
6+
fn format_to_lisp(Array[Cirru]) -> String!FormatError
7+
8+
fn parse(String) -> Array[Cirru]!CirruParseError
9+
10+
// Types and methods
11+
pub(all) enum Cirru {
12+
Leaf(String)
13+
List(Array[Cirru])
14+
}
15+
impl Cirru {
16+
compare(Self, Self) -> Int
17+
debug_write(Self, Buffer) -> Unit
18+
is_comment(Self) -> Bool
19+
is_empty(Self) -> Bool
20+
is_nested(Self) -> Bool
21+
length(Self) -> Int
22+
op_equal(Self, Self) -> Bool
23+
output(Self, Logger) -> Unit
24+
to_json(Self) -> Json
25+
to_string(Self) -> String
26+
}
27+
impl Eq for Cirru
28+
impl Hash for Cirru
29+
impl @moonbitlang/core/json.FromJson for Cirru
30+
31+
type CirruLexItem
32+
33+
type CirruLexState
34+
impl CirruLexState {
35+
to_string(Self) -> String
36+
}
37+
impl Show for CirruLexState
38+
39+
type CirruParseError
40+
impl CirruParseError {
41+
to_string(Self) -> String
42+
}
43+
44+
pub(all) struct CirruWriterOptions {
45+
use_inline : Bool
46+
}
47+
48+
pub(all) type! FormatCirruError String
49+
impl FormatCirruError {
50+
to_string(Self) -> String
51+
}
52+
53+
type FormatError
54+
55+
type WriterNode
56+
impl WriterNode {
57+
op_equal(Self, Self) -> Bool
58+
}
59+
impl Eq for WriterNode
60+
61+
// Type aliases
62+
63+
// Traits
64+

src/main/main.mbti

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package tiye/cirru-parser/main
2+
3+
// Values
4+
fn fsReadSync(String) -> String
5+
6+
fn main_parser() -> Unit
7+
8+
fn main_writer() -> Unit
9+
10+
// Types and methods
11+
12+
// Type aliases
13+
14+
// Traits
15+

0 commit comments

Comments
 (0)