Skip to content

Interface#

Introduction#

To declare an interface:

1
2
3
Interface Identifier [ <GenericTypeIdents> ] [ Extends Interfaces ]
    ...Interface members...
End

Interfaces is a comma separated list of interface types.

An interface can contain consts, globals, fields, methods, functions and other user defined types.

Interface methods are always 'abstract' and cannot declare any code.