pub fn registers(&self) -> IndexSet<&Register<'a>> {
        self.lines()
            .into_iter()
            .flat_map(|ref line| match line {
                Line::LabelLine(_) => None,
                Line::OpLine(ins) => Some(ins.arguments().iter().flat_map(|arg| match arg {
                    Arg::Register(r) => Some(r),
                    _ => None,
                })),
            })
            .flatten()
            .collect()
    }
/// Get the set of all registers *used* in the program.
Get the set of all registers *used* in the program.
Get the set of all registers * used * in the program .
pub fn registers(&self) -> IndexSet<&Register<'a>> {
        self.lines()
            .into_iter()
            .flat_map(|ref line| match line {
                Line::LabelLine(_) => None,
                Line::OpLine(ins) => Some(ins.arguments().iter().flat_map(|arg| match arg {
                    Arg::Register(r) => Some(r),
                    _ => None,
                })),
            })
            .flatten()
            .collect()
    }
pub fn registers ( & self ) -> IndexSet < & Register < ' a > > { self . lines ( ) . into_iter ( ) . flat_map ( | ref line | match line { Line :: LabelLine ( _ ) => None , Line :: OpLine ( ins ) => Some ( ins . arguments ( ) . iter ( ) . flat_map ( | arg | match arg { Arg :: Register ( r ) => Some ( r ) , _ => None , } ) ) , } ) . flatten ( ) . collect ( ) }
Get the set of all registers *used* in the program.
Get the set of all registers * used * in the program .
&self