Kaba class Key ed

...

Syntax ed

class Key

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

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

    # constants
    const A: Key
    const AE: Key
    const ALT: Key
    const ANY: Key
    const B: Key
    const BACKSPACE: Key
    const C: Key
    const COMMA: Key
    const CONTROL: Key
    const D: Key
    const DELETE: Key
    const DOT: Key
    const DOWN: Key
    const E: Key
    const END: Key
    const ESCAPE: Key
    const F: Key
    const F1: Key
    const F10: Key
    const F11: Key
    const F12: Key
    const F2: Key
    const F3: Key
    const F4: Key
    const F5: Key
    const F6: Key
    const F7: Key
    const F8: Key
    const F9: Key
    const FENCE: Key
    const G: Key
    const GRAVE: Key
    const H: Key
    const HOME: Key
    const I: Key
    const INSERT: Key
    const J: Key
    const K: Key
    const L: Key
    const LEFT: Key
    const LEFT_ALT: Key
    const LEFT_CONTROL: Key
    const LEFT_SHIFT: Key
    const LEFT_WINDOWS: Key
    const LESS: Key
    const M: Key
    const MINUS: Key
    const N: Key
    const NUM_0: Key
    const NUM_1: Key
    const NUM_2: Key
    const NUM_3: Key
    const NUM_4: Key
    const NUM_5: Key
    const NUM_6: Key
    const NUM_7: Key
    const NUM_8: Key
    const NUM_9: Key
    const NUM_COMMA: Key
    const NUM_DIVIDE: Key
    const NUM_ENTER: Key
    const NUM_KEYS: Key
    const NUM_MINUS: Key
    const NUM_MULTIPLY: Key
    const NUM_PLUS: Key
    const O: Key
    const OE: Key
    const P: Key
    const PAGE_DOWN: Key
    const PAGE_UP: Key
    const PLUS: Key
    const Q: Key
    const R: Key
    const RETURN: Key
    const RIGHT: Key
    const RIGHT_ALT: Key
    const RIGHT_CONTROL: Key
    const RIGHT_SHIFT: Key
    const RIGHT_WINDOWS: Key
    const S: Key
    const SHIFT: Key
    const SPACE: Key
    const SZ: Key
    const T: Key
    const TAB: Key
    const U: Key
    const UE: Key
    const UP: Key
    const V: Key
    const W: Key
    const X: Key
    const Y: Key
    const Z: Key
    const _0: Key
    const _1: Key
    const _2: Key
    const _3: Key
    const _4: Key
    const _5: Key
    const _6: Key
    const _7: Key
    const _8: Key
    const _9: Key

Functions ed

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

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

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