Files
pole-book/server/node_modules/shiki/samples/ara.sample

30 lines
384 B
Plaintext

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