ridl-syntax 0.16.0

The RIDL family lexer and grammar: a lossless concrete syntax tree over rowan.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package veh.open

open enum DtcStatus { INACTIVE = 0 ACTIVE = 1 }

internal error open enum Fault { NONE = 0 }

open enumset Flags { A = 0 }

open enumset Warnings : Fault

// `open` is an ordinary identifier outside a modifier position.
struct S { open: bool }

// An identifier `open` directly before a declaration is not the modifier.
enumset Others: open
enum Next { A = 0 }