Kaba class BuildType ed

...

Syntax ed

class BuildType

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

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

    # constants
    let BINARY: BuildType
    let LIBRARY: BuildType
    let SHARED_LIBRARY: BuildType
    let STATIC_LIBRARY: BuildType

Functions ed

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

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

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