pub fn new(
        name: Option<String>,
        signature: Vec<(String, Option<usize>)>,
        locals: usize,
        begin: ImlOp,
        end: ImlOp,
        body: ImlOp,
    ) -> Self {
        assert!(
            signature.len() <= locals,
            "signature may not be longer than locals..."
        );

        Self {
            name,
            consuming: None,
            severity: 5,
            signature,
            locals,
            begin,
            end,
            body,
        }
    }
/// Creates a new intermediate parselet.
Creates a new intermediate parselet.
Creates a new intermediate parselet .
pub fn new(
        name: Option<String>,
        signature: Vec<(String, Option<usize>)>,
        locals: usize,
        begin: ImlOp,
        end: ImlOp,
        body: ImlOp,
    ) -> Self {
        assert!(
            signature.len() <= locals,
            "signature may not be longer than locals..."
        );
        Self {
            name,
            consuming: None,
            severity: 5,
            signature,
            locals,
            begin,
            end,
            body,
        }
    }
pub fn new ( name : Option < String > , signature : Vec < ( String , Option < usize > ) > , locals : usize , begin : ImlOp , end : ImlOp , body : ImlOp , ) -> Self { assert ! ( signature len ( ) locals " " ) ; Self { name , consuming : None , severity : 5 , signature , locals , begin , end , body , } }
Creates a new intermediate parselet.
Creates a new intermediate parselet .
name
Option<String>
signature
Vec<(String, Option<usize>)>
locals
usize
begin
ImlOp
end
ImlOp
body
ImlOp
name
Option<String>
signature
Vec<(String, Option<usize>)>
locals
usize
begin
ImlOp
end
ImlOp
body
ImlOp