File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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+
You can’t perform that action at this time.
0 commit comments