syside.FormatPreserved

class FormatPreserved

Bases: typing.Generic[T]

property preserve: bool

Controls formatting in majority of cases. Set to true to preserve tokens and keywords as they appear in the source code.

property fallback: syside.T

Controls preserve formatting for cases when there is no associated source text or preserve is false.

__cpp_name__: str = 'syside::py::PyFormatPreserved'
classmethod __class_getitem__(item)