sway-core 0.3.3

Sway core language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::scrutinee::Scrutinee;

use sway_types::span::Span;

#[derive(Debug, Clone)]
pub(crate) enum MatchCondition {
    CatchAll(CatchAll),
    Scrutinee(Scrutinee),
}

#[derive(Debug, Clone)]
pub struct CatchAll {
    pub span: Span,
}