Kaba class SelectionType ed

...

Syntax ed

class SelectionType

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

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

    # constants
    let EDGE: SelectionType
    let NODE: SelectionType
    let NONE: SelectionType

Functions ed

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

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

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