reprospect.test.sass.instruction.register module
- class reprospect.test.sass.instruction.register.RegisterView on GitHub
Bases:
objectRegister patterns.
- classmethod dst(*, captured: bool = True) strView on GitHub
- classmethod mod(reg: str, *, reuse: bool | None = None, captured: bool = True) strView on GitHub
Wrap a register pattern with a reuse modifier.
- classmethod pred() strView on GitHub
- classmethod predt() strView on GitHub
- classmethod reg() strView on GitHub
- classmethod regz() strView on GitHub
- classmethod upred() strView on GitHub
- classmethod upredt() strView on GitHub
- classmethod ureg() strView on GitHub
- classmethod uregz() strView on GitHub
- class reprospect.test.sass.instruction.register.RegisterMatch(rtype: RegisterType, index: int = -1, reuse: bool = False, math: MathModifier | None = None)View on GitHub
Bases:
objectIf
indexis set to a negative value, it is a special register (e.g.RZifrtypeisreprospect.tools.sass.decode.RegisterType.GPR).- __init__(rtype: RegisterType, index: int = -1, reuse: bool = False, math: MathModifier | None = None) None
- math: MathModifier | None
- classmethod parse(bits: Match[str]) RegisterMatchView on GitHub
- rtype: RegisterType
- class reprospect.test.sass.instruction.register.RegisterMatcher(*, rtype: RegisterType | None = None, special: bool | None = None, index: int | None = None, reuse: bool | None = None, math: MathModifier | bool | None = None)View on GitHub
Bases:
objectMatcher for a register.
- __init__(*, rtype: RegisterType | None = None, special: bool | None = None, index: int | None = None, reuse: bool | None = None, math: MathModifier | bool | None = None) None
Method generated by attrs for class RegisterMatcher.
- classmethod build_pattern(*, rtype: RegisterType | None = None, special: bool | None = None, index: int | None = None, reuse: bool | None = None, math: MathModifier | bool | None = None, captured: bool = True, capture_math: bool = False, capture_reg: bool = False, capture_reuse: bool = False) strView on GitHub
- classmethod build_pattern_modifier_math(*, math: MathModifier | bool | None = None, captured: bool = True) str | NoneView on GitHub
- classmethod build_pattern_modifier_reuse(*, reuse: bool | None = None, captured: bool = True) str | NoneView on GitHub
- classmethod build_pattern_reg(*, rtype: RegisterType | None = None, special: bool | None = None, index: int | None = None, captured: bool = True) strView on GitHub
- match(reg: str) RegisterMatch | NoneView on GitHub
- math: MathModifier | bool | None
- rtype: RegisterType | None