A simple Rust version of goctl
-
type struct
-
many type struct
-
nest type struct
-
service block
-
API block
- token.rs - Tokenize the input string
- parser.rs - Parse API Syntax
- service.rs - Parse Service Block
- struct_ref.rs - Parse Struct Block
Problems encountered in development
- Why is parse_many_struct not used in parse_struct_stmt1, but parse_struct_to_vec is used instead?