kjelsrud.dev/node_modules/shiki/samples/ara.sample
2023-07-19 21:31:30 +02:00

29 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