blob: 723ef256026d5f21d278f9c8c106f1a1de47b100 [file] [log] [blame]
BanjoAst {
primary_namespace: "banjo.examples.example4",
namespaces: {
"banjo.examples.example4": [
Struct {
attributes: Attrs(
[]
),
name: "Point",
fields: [
StructField {
attributes: Attrs(
[]
),
ty: UInt64,
ident: Ident {
namespace: None,
name: "x"
},
val: None
}
]
},
Enum {
attributes: Attrs(
[]
),
name: "Enum",
ty: UInt32,
variants: [
EnumVariant {
attributes: Attrs(
[]
),
name: "x ",
size: Constant(
"23"
)
}
]
},
Interface {
attributes: Attrs(
[
Attr {
key: "Layout",
val: Some(
"ddk-protocol"
)
}
]
),
name: "Interface",
methods: [
Method {
attributes: Attrs(
[]
),
name: "func",
in_params: [
(
"x",
Bool
)
],
out_params: []
}
]
}
]
}
}