UNPKG

socraticode

Version:

SocratiCode — MCP server for local codebase indexing, semantic search, and code dependency graphs. All private, all local via Docker.

13 lines • 663 B
/** A small lexical token used by GDScript fallbacks that run without the native parser. */ export interface GdscriptToken { kind: "identifier" | "string" | "punctuation"; text: string; } /** * Tokenize only the GDScript constructs needed by import and class-name fallbacks. * Comments and whitespace are discarded, while quoted strings remain single tokens. */ export declare function tokenizeGdscript(source: string): GdscriptToken[]; /** Find a real class_name declaration while ignoring comments and string bodies. */ export declare function extractClassNameFromGdscript(source: string): string | null; //# sourceMappingURL=gdscript-syntax.d.ts.map