summaryrefslogtreecommitdiff
path: root/docs/type_system/op.md
blob: 868c41b4ae643278c35191726258ab691bf731cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Op

---

```text
Op[[OP_NAME] RETURN_TYPE; LEFT_TYPE; RIGHT_TYPE]
```

`OP_NAME` a single value

## Type Body Object Definitions

```c
typedef struct {
    kpl_type *return_type, *statement_left, *statement_right;
} kpl_type_body_op;

typedef enum : uint16_t {

} kpl_op_name;
```