Skip to main content
Glama

AutoDev Codebase MCP Server

by anrgct
parseSourceCodeDefinitions.kotlin.test.ts849 B
import { describe, it } from "@jest/globals" import { kotlinQuery } from "../queries" import { testParseSourceCodeDefinitions, inspectTreeStructure, debugLog } from "./helpers" import sampleKotlinContent from "./fixtures/sample-kotlin" describe("parseSourceCodeDefinitionsForFile with Kotlin", () => { const testOptions = { language: "kotlin", wasmFile: "tree-sitter-kotlin.wasm", queryString: kotlinQuery, extKey: "kt", } it("should inspect Kotlin tree structure", async () => { const result = await inspectTreeStructure(sampleKotlinContent, "kotlin") debugLog("Kotlin Tree Structure:", result) }) it("should parse Kotlin source code definitions", async () => { const result = await testParseSourceCodeDefinitions("/test/file.kt", sampleKotlinContent, testOptions) debugLog("Kotlin Source Code Definitions:", result) }) })

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/anrgct/autodev-codebase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server