Kaba class Button ed
...
Syntax ed
class Button
# functions
func static pure all(type: Class&) -> Button[]
func static pure from_int(i: i32) -> Button
func static pure parse(label: string, type: Class&) -> Button
# operators
func pure __i32__() -> i32 # i32(Button) -> i32
func static __assign__(a: Button, b: Button) # Button = Button
func pure __add__(b: Button) -> Button # Button + Button -> Button
func static __iadd__(a: Button, b: Button) # Button += Button
func pure __eq__(b: Button) -> bool # Button == Button -> bool
func pure __neq__(b: Button) -> bool # Button __neq__ Button -> bool
func pure __bitand__(b: Button) -> Button # Button & Button -> Button
func pure __bitor__(b: Button) -> Button # Button | Button -> Button
# constants
const LEFT: Button
const MIDDLE: Button
const RIGHT: Button
Functions ed
- func static pure all(type: Class&) -> Button[]
- ...
- func static pure from_int(i: i32) -> Button
- ...
- func static pure parse(label: string, type: Class&) -> Button
- ...