hataraku
Version:
An autonomous coding agent for building AI-powered development tools. The name "Hataraku" (働く) means "to work" in Japanese.
55 lines (52 loc) • 1.25 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*
- method definitions (including singleton methods and aliases, with associated comments)
- class definitions (including singleton classes, with associated comments)
- module definitions
*/
exports.default = `
(
(comment)*
.
[
(method
name: (_) .definition.method) .method
(singleton_method
name: (_) .definition.method) .method
]
(#strip! "^#\\s*")
(#select-adjacent! .method)
)
(alias
name: (_) .definition.method) .method
(
(comment)*
.
[
(class
name: [
(constant) .definition.class
(scope_resolution
name: (_) .definition.class)
]) .class
(singleton_class
value: [
(constant) .definition.class
(scope_resolution
name: (_) .definition.class)
]) .class
]
(#strip! "^#\\s*")
(#select-adjacent! .class)
)
(
(module
name: [
(constant) .definition.module
(scope_resolution
name: (_) .definition.module)
]) .module
)
`;
//# sourceMappingURL=ruby.js.map