Kaba class CharType ed

...

Syntax ed

class CharType

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

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

    # constants
    let LETTER: CharType
    let NUMBER: CharType
    let SIGN: CharType
    let WHITESPACE: CharType

Functions ed

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

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

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