Kaba class Command ed

...

Syntax ed

class Command

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

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

    # constants
    const ACCUMULATION_CLEAR: Command
    const ACCUMULATION_GET_SIZE: Command
    const ACCUMULATION_START: Command
    const ACCUMULATION_STOP: Command
    const GET_INPUT_CHANNELS: Command
    const GET_SAMPLE_COUNT: Command
    const PREPARE_START: Command
    const SAMPLE_COUNT_MODE: Command
    const START: Command
    const STOP: Command
    const SUCK: Command

Functions ed

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

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

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