apply_statement

Function apply_statement 

Source
pub fn apply_statement(input: &str) -> IResult<&str, ApplyStatement<'_>>
Expand description
ApplyStatement = ApplyStatementSingular / ApplyStatementBlock
ApplyStatementSingular = %s"apply" SP ShapeId WS Trait
ApplyStatementBlock = %s"apply" SP ShapeId WS "{" [WS] TraitStatements "}"