ridl-syntax 0.5.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
17
package veh.events

/// Event shapes (ridl reference ยง5).
interface EventShapes {

  /// Raised on every door state change; stale after 500ms.
  event doorOpened : DoorPayload @[50ms..500ms]

  /// Half-open bounds parse on events too.
  event speedLimitExceeded : SpeedLimitPayload @[100ms..]

  /// Upper bound only, in seconds.
  event parkAssistWarning : ParkWarning @[..2s]

  /// Untimed event.
  event ignitionChanged : IgnitionPayload
}