Skip to content

Commit

Permalink
Remove css language
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 committed Nov 16, 2020
1 parent 004f46a commit 409db24
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 451 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
[submodule "tree-sitter-go"]
path = tree-sitter-go
url = https://github.com/tree-sitter/tree-sitter-go/
[submodule "tree-sitter-css"]
path = tree-sitter-css
url = https://github.com/tree-sitter/tree-sitter-css/
[submodule "tree-sitter-cpp"]
path = tree-sitter-cpp
url = https://github.com/tree-sitter/tree-sitter-cpp.git
1 change: 0 additions & 1 deletion enums/src/languages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ mk_langs!(
(Go, tree_sitter_go),
(Html, tree_sitter_html),
(Rust, tree_sitter_rust),
(Css, tree_sitter_css),
(Cpp, tree_sitter_cpp),
(Python, tree_sitter_python),
(Tsx, tree_sitter_tsx),
Expand Down
2 changes: 0 additions & 2 deletions src/alterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ impl Alterator for GoCode {
}
}

impl Alterator for CssCode {}

impl Alterator for HtmlCode {
fn alterate(node: &Node, code: &[u8], span: bool, children: Vec<AstNode>) -> AstNode {
match Html::from(node.object().kind_id()) {
Expand Down
9 changes: 0 additions & 9 deletions src/checker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,15 +252,6 @@ impl Checker for GoCode {
mk_checker!(is_non_arg,);
}

impl Checker for CssCode {
mk_checker!(is_comment, Comment);
mk_checker!(is_string, StringValue);
mk_checker!(is_call, CallExpression);
mk_checker!(is_func,);
mk_checker!(is_func_space,);
mk_checker!(is_non_arg,);
}

impl Checker for HtmlCode {
mk_checker!(is_comment, Comment);
mk_checker!(is_string,);
Expand Down
1 change: 0 additions & 1 deletion src/getter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,5 +472,4 @@ impl Getter for PreprocCode {}
impl Getter for CcommentCode {}
impl Getter for JavaCode {}
impl Getter for GoCode {}
impl Getter for CssCode {}
impl Getter for HtmlCode {}
10 changes: 0 additions & 10 deletions src/langs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,6 @@ mk_langs!(
[rs],
["rust"]
),
(
Css,
"The `CSS` language",
"css",
CssCode,
CssParser,
tree_sitter_css,
[css],
["css"]
),
(
Cpp,
"The `C/C++` language",
Expand Down
Loading

0 comments on commit 409db24

Please sign in to comment.