/** * Kotlin language configuration for AiDex * * Node types verified against @tree-sitter-grammars/tree-sitter-kotlin@1.1.0 * by parsing real project files. Kotlin declarations carry their name as a * plain `identifier` child (field name `name`), so the default extractor * finds them without special handling. */ /** * Kotlin keywords that should be filtered out during indexing */ export declare const KOTLIN_KEYWORDS: Set; /** * Tree-sitter node types that represent identifiers in Kotlin */ export declare const KOTLIN_IDENTIFIER_NODES: Set; /** * Tree-sitter node types for comments */ export declare const KOTLIN_COMMENT_NODES: Set; /** * Tree-sitter node types for function declarations. * Verified over 41 project files: `function_declaration` is the only named * function node. `primary_constructor` carries no own name (= class name), * so it is intentionally excluded. */ export declare const KOTLIN_METHOD_NODES: Set; /** * Tree-sitter node types for type declarations. * Enums are `class_declaration` with an `enum` modifier in this grammar — * `enum_class_body` is only the body block (no name), so it is excluded. */ export declare const KOTLIN_TYPE_NODES: Set; /** * Tree-sitter node types for property declarations */ export declare const KOTLIN_PROPERTY_NODES: Set; /** * Check if a term is a Kotlin keyword */ export declare function isKeyword(term: string): boolean; //# sourceMappingURL=kotlin.d.ts.map