Kaba class Operation ed

...

Syntax ed

class Operation

    # functions
    func static pure all(type: Class&) -> Operation[]
    func static pure from_int(i: i32) -> Operation
    func static pure parse(label: string, type: Class&) -> Operation

    # operators
    func pure __i32__() -> i32           # i32(Operation) -> i32
    func static __assign__(a: Operation, b: Operation) # Operation = Operation
    func pure __add__(b: Operation) -> Operation # Operation + Operation -> Operation
    func static __iadd__(a: Operation, b: Operation) # Operation += Operation
    func pure __eq__(b: Operation) -> bool # Operation == Operation -> bool
    func pure __neq__(b: Operation) -> bool # Operation __neq__ Operation -> bool
    func pure __bitand__(b: Operation) -> Operation # Operation & Operation -> Operation
    func pure __bitor__(b: Operation) -> Operation # Operation | Operation -> Operation

    # constants
    const ADD_1_FACTOR: Operation
    const MIX_1_FACTOR: Operation
    const MIX_2_FACTOR: Operation
    const SET: Operation
    const SET_NEW_KEYED: Operation
    const SET_OLD_KEYED: Operation

Functions ed

func static pure all(type: Class&) -> Operation[]
...

func static pure from_int(i: i32) -> Operation
...

func static pure parse(label: string, type: Class&) -> Operation
...