MatchArm

struct MatchArm

One pattern -> body arm of a match. Desugared conditionals (if-let) synthesize arms with no source span.

Properties

let pattern: Pattern

The pattern that selects this arm.

let body: Block

The block evaluated after a successful match.

let start: Int

The inclusive starting byte offset in the source.

let end: Int

The exclusive ending byte offset in the source.