JSONPath Tools / @jsonpath-tools/codemirror-lang-jsonpath
@jsonpath-tools/codemirror-lang-jsonpath
JSONPath (RFC 9535) language support for CodeMirror editor.
Classes
| Class | Description |
|---|---|
| DefaultLanguageServices | Default language services. |
| LanguageService | Serves as a frontend for a language service providing services for editors. |
| LanguageServiceBackend | Serves as a backend for a language service providing services for editors. |
| OperationCancelledError | Error meaning that an operation was cancelled. |
Variables
| Variable | Description |
|---|---|
| format | CodeMirror command to format a JSONPath query. |
| formatKeymap | Default CodeMirror keymap for JSONPath formatting using Alt+Shift+F. |
| jsonpathLanguage | CodeMirror JSONPath language. |
| parser | CodeMirror JSONPath language parser. |
| updateQueryArgumentEffect | State effect to update query argument. |
| updateQueryArgumentTypeEffect | State effect to update query argument type. |
| updateQueryOptionsEffect | State effect to update query options. |
Functions
| Function | Description |
|---|---|
| completionSource | CodeMirror completion source for JSONPath. |
| documentHighlights | CodeMirror extension adding JSONPath document highlights. |
| getQueryForTree | Returns a JSONPath query associated with the given Lezer tree. |
| getResult | Returns the JSONPath query result. |
| jsonpath | CodeMirror JSONPath (RFC 9535) language support. |
| lintSource | CodeMirror lint source for JSONPath. |
| lintSourceNeedsRefresh | CodeMirror lint source needsRefresh for lintSource. |
| signatureHelp | CodeMirror extension adding JSONPath signature help. |
| tooltip | CodeMirror extension adding JSONPath hover tooltips. |