reprospect.test.sass.instruction.constant module
- class reprospect.test.sass.instruction.constant.ConstantView on GitHub
Bases:
objectConstant memory patterns.
- ADDRESS: Final[str] = 'c\\[0x[0-9]+\\]\\[(?:0x[0-9A-Fa-f]+|R(?:Z|\\d+)|UR[0-9]+)\\]'
Constant memory location.
- classmethod address() strView on GitHub
- class reprospect.test.sass.instruction.constant.ConstantMatch(bank: str, offset: str, math: MathModifier | None = None)View on GitHub
Bases:
objectResult of matching a constant memory location.
- math: MathModifier | None
- classmethod parse(bits: Match[str]) ConstantMatchView on GitHub
- class reprospect.test.sass.instruction.constant.ConstantMatcher(*, bank: str | None = None, offset: str | None = None, math: MathModifier | None = None)View on GitHub
Bases:
objectMatcher for a constant memory location.
- __init__(*, bank: str | None = None, offset: str | None = None, math: MathModifier | None = None) None
Method generated by attrs for class ConstantMatcher.
- classmethod build_pattern(*, bank: str | None = None, offset: str | None = None, math: MathModifier | None = None, captured: bool = True, capture_bank: bool = False, capture_offset: bool = False, capture_modifier_math: bool = False) strView on GitHub
- match(constant: str) ConstantMatch | NoneView on GitHub
- math: MathModifier | None