serde-intermediate 1.6.2

Intermediate representation of Serde serialization
Documentation
1
2
3
4
5
6
7
8
main = _{ SOI ~ value ~ EOI }
value = { tuple_element | path_element }
tuple_element = { "(" ~ (value ~ ("," ~ value)* ~ ","?)? ~ ")" }
path_element = { path ~ args? }
path = { identifier ~ ("::" ~ identifier)* }
args = { "<" ~ value ~ ("," ~ value)* ~ ","? ~ ">" }
identifier = @{ "_"* ~ XID_START ~ XID_CONTINUE* }
WHITESPACE = _{ " " | "\t" }