This commit is contained in:
vms 2021-02-04 14:42:45 +03:00
parent 8d427c0e72
commit 5e3c881250

View File

@ -53,6 +53,18 @@ pub enum ParsedType {
Utf8String,
Vector(Box<ParsedType>),
Record(String), // short type name
Option(String),
Result(String),
}
enum ArgPassingStyle {
ByValue,
ByRef
}
struct Arg {
passing_style: ArgPassingStyle,
parsed_type: ParsedType,
}
impl ParsedType {