30 lines
384 B
Text
30 lines
384 B
Text
![]() |
namespace MyNamespace;
|
||
|
|
||
|
use MyOtherNamespace\MyOtherClass;
|
||
|
|
||
|
use function MyOtherNamespace\my_other_function;
|
||
|
|
||
|
use const MyOtherNamespace\MY_OTHER_CONST;
|
||
|
|
||
|
const MY_CONST = 1;
|
||
|
|
||
|
type MyType = int;
|
||
|
|
||
|
interface MyInterface {
|
||
|
// ...
|
||
|
}
|
||
|
|
||
|
class MyClass {
|
||
|
// ...
|
||
|
}
|
||
|
|
||
|
enum MyEnum {
|
||
|
// ...
|
||
|
}
|
||
|
|
||
|
function my_function(): void {
|
||
|
// ...
|
||
|
}
|
||
|
|
||
|
https://ara-lang.io/fundamentals/structure.html
|