Skip to content

Commit

Permalink
Remove c-sharp language
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 committed Nov 16, 2020
1 parent 03f1c9f commit 004f46a
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 1,492 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
[submodule "tree-sitter-css"]
path = tree-sitter-css
url = https://github.com/tree-sitter/tree-sitter-css/
[submodule "tree-sitter-c-sharp"]
path = tree-sitter-c-sharp
url = https://github.com/tree-sitter/tree-sitter-c-sharp/
[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 @@ -9,7 +9,6 @@ mk_langs!(
(Java, tree_sitter_java),
(Go, tree_sitter_go),
(Html, tree_sitter_html),
(CSharp, tree_sitter_c_sharp),
(Rust, tree_sitter_rust),
(Css, tree_sitter_css),
(Cpp, tree_sitter_cpp),
Expand Down
2 changes: 0 additions & 2 deletions src/alterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ impl Alterator for CppCode {
}
}

impl Alterator for CSharpCode {}

impl Alterator for PythonCode {}

impl Alterator for JavaCode {}
Expand Down
24 changes: 0 additions & 24 deletions src/checker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,30 +91,6 @@ impl Checker for CppCode {
mk_checker!(is_non_arg, LPAREN, LPAREN2, COMMA, RPAREN);
}

impl Checker for CSharpCode {
mk_checker!(is_comment, Comment);
mk_checker!(is_string, StringLiteral);
mk_checker!(is_call, InvocationExpression);
mk_checker!(
is_func,
MethodDeclaration,
ConstructorDeclaration,
ConversionOperatorDeclaration,
DestructorDeclaration,
OperatorDeclaration,
AccessorDeclaration,
LocalFunctionStatement
);
mk_checker!(
is_func_space,
CompilationUnit,
ClassDeclaration,
StructDeclaration,
NamespaceDeclaration
);
mk_checker!(is_non_arg,);
}

impl Checker for PythonCode {
mk_checker!(is_comment, Comment);

Expand Down
1 change: 0 additions & 1 deletion src/getter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,6 @@ impl Getter for CppCode {

impl Getter for PreprocCode {}
impl Getter for CcommentCode {}
impl Getter for CSharpCode {}
impl Getter for JavaCode {}
impl Getter for GoCode {}
impl Getter for CssCode {}
Expand Down
10 changes: 0 additions & 10 deletions src/langs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@ mk_langs!(
[html],
["html"]
),
(
CSharp,
"The `C#` language",
"c#",
CSharpCode,
CSharpParser,
tree_sitter_c_sharp,
[cs],
["csharp", "c#"]
),
(
Rust,
"The `Rust` language",
Expand Down
Loading

0 comments on commit 004f46a

Please sign in to comment.