cqlls 4.1.0

The Best lanugage server for CQL (Cassandra Query Lanugage) ^_^
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
    Copyright (c) 2026 アクゼスティア. All Rights Reserved.
*/

use once_cell::sync::Lazy;
use tokio::sync::Mutex;
use tree_sitter::Parser;

pub static TS_CQL: Lazy<Mutex<Parser>> = Lazy::new(|| {
    let mut parser = Parser::new();
    parser
        .set_language(&tttx_tree_sitter_cql::LANGUAGE.into())
        .expect("Error loading CQL grammar");
    Mutex::new(parser)
});