properties_elem

This class represents a single ebuild property as per PMS 7.3.6.
It combines an enum of type restrict_elem_type to discern between the tokens defined by PMS, and the raw string representation, for use when the token not defined in PMS. The string representation is initialized for known tokens aswell.
class pms_utils.ebuild.properties_elem(self, expr: str)

Constructs a new properties_elem object from the input expression.

Raises:

ValueError – The expression is invalid.

property string: str

(self) -> str

property type: pms_utils.ebuild.properties_elem_type

(self) -> pms_utils::ebuild::properties_elem::Type