reprospect.test.sass.instruction.operand module
- reprospect.test.sass.instruction.operand.MODIFIER_MATH: Final[str] = '(?:!|\\-\\||\\-|\\~|\\|)'
Match any math modifier from
MathModifier.
- reprospect.test.sass.instruction.operand.MODIFIER_MATH_ABS_DELIMITER: Final[str] = '\\|'
Match
MathModifier.ABS.
- class reprospect.test.sass.instruction.operand.MathModifier(*values)View on GitHub
Bases:
StrEnumMath operand modifier.
- ABS = '|'
- INV = '~'
- NEG = '-'
- NEG_ABS = '-|'
- NOT = '!'
- __str__()
Return str(self).
- class reprospect.test.sass.instruction.operand.OperandView on GitHub
Bases:
objectOperand patterns.
- classmethod mod(opnd: str, *, math: bool | None = None, captured: bool = True) strView on GitHub
Wrap an operand pattern with a math modifier.
- classmethod operand() strView on GitHub