.TH "/home/quirinpa/site/external/libbud/src/cx-lsp.c" 1 "bud" \" -*- nroff -*- .ad l .nh .SH NAME /home/quirinpa/site/external/libbud/src/cx-lsp.c \- Pure-C Language Server Protocol (LSP) proxy for \fR\&.cx\fP files over \fRclangd\fP\&. .SH SYNOPSIS .br .PP \fR#include 'cx_lsp_internal\&.h'\fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br \fR#include \fP .br .SH "Detailed Description" .PP Pure-C Language Server Protocol (LSP) proxy for \fR\&.cx\fP files over \fRclangd\fP\&. Architecture: .IP "\(bu" 2 Calls \fRcx_transpile()\fP in-process (<1 ms) with `emit_lines = 0, recover = 1` so `clangd` operates on a deterministic shadow `\&.cx\&.c` document whose exact byte coordinates map 1-to-1 with `\&.cx` via `cx_span`\&. .IP "\(bu" 2 Serves HTML/native tag and `component` prop completions directly when the cursor is inside a JSX tag/attribute name outside `{\&.\&.\&.}`\&. .IP "\(bu" 2 Forwards all C semantics (`hover`, `completion` inside `{}`/closures, `definition`, `references`, `signatureHelp`, `publishDiagnostics`) to unmodified `clangd`, remapping URIs and ranges `\&.cx <-> \&.c\fR\&.\fP .IP "\(bu" 2 \fRZero external runtime dependencies beyond libc, POSIX \fPpoll\fR/\fPfork\fR/\fPpipe\fR, and \fPcx_transpile\&.o`\&. .PP .SH "Author" .PP Generated automatically by Doxygen for bud from the source code\&.