Type Alias WaveScope

Source
pub type WaveScope = ScopeDef<MessageScopeSelectorAndFilters, Vec<MethodScope>>;

Aliased Type§

pub struct WaveScope {
    pub selector: ScopeSelectorAndFiltersDef<ScopeSelectorDef<ValuePattern<MethodKind>, Regex>, String>,
    pub block: Vec<ScopeDef<ScopeSelectorAndFiltersDef<ScopeSelectorDef<ValuePattern<Method>, Regex>, String>, PipelineDef<PipelineSegmentDef<PointDef<RouteSegVar, PointSegVar>>>>>,
}

Fields§

§selector: ScopeSelectorAndFiltersDef<ScopeSelectorDef<ValuePattern<MethodKind>, Regex>, String>§block: Vec<ScopeDef<ScopeSelectorAndFiltersDef<ScopeSelectorDef<ValuePattern<Method>, Regex>, String>, PipelineDef<PipelineSegmentDef<PointDef<RouteSegVar, PointSegVar>>>>>

Implementations§

Source§

impl WaveScope

Source

pub fn from_scope<I: Span>(scope: LexParentScope<I>) -> Result<Self, SpaceErr>

Source

pub fn select(&self, directed: &DirectedWave) -> Vec<&MethodScope>