Doc that represents operation It can be unary, binary and other special operators (for example, the if-then-else expression).
| 267 | |
| 268 | @register_object("script.printer.OperationDoc") |
| 269 | class OperationDoc(ExprDoc): |
| 270 | """ |
| 271 | Doc that represents operation |
| 272 | |
| 273 | It can be unary, binary and other special operators (for example, the |
| 274 | if-then-else expression). |
| 275 | """ |
| 276 | |
| 277 | kind: OperationKind |
| 278 | operands: Sequence[ExprDoc] |
| 279 | |
| 280 | def __init__(self, kind: OperationKind, operands: list[ExprDoc]): |
| 281 | self.__init_handle_by_constructor__(_ffi_api.OperationDoc, kind, operands) # type: ignore # pylint: disable=no-member |
| 282 | |
| 283 | |
| 284 | @register_object("script.printer.LambdaDoc") |
no outgoing calls
searching dependent graphs…