Skip to content

Commit 5b08579

Browse files
fix: remove dart lang
1 parent b9ea6e3 commit 5b08579

File tree

8 files changed

+3
-10
lines changed

8 files changed

+3
-10
lines changed

src/wasm_lang.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pub enum WasmLang {
2323
CSharp,
2424
Css,
2525
Cpp,
26-
Dart,
2726
Elixir,
2827
Go,
2928
Html,
@@ -64,7 +63,6 @@ impl FromStr for WasmLang {
6463
"csharp" => CSharp,
6564
"css" => Css,
6665
"cpp" => Cpp,
67-
"dart" => Dart,
6866
"elixir" => Elixir,
6967
"go" => Go,
7068
"html" => Html,
@@ -140,7 +138,6 @@ macro_rules! execute_lang_method {
140138
W::Cpp => L::Cpp.$method($($pname,)*),
141139
W::CSharp => L::CSharp.$method($($pname,)*),
142140
W::Css => L::Css.$method($($pname,)*),
143-
W::Dart => L::Dart.$method($($pname,)*),
144141
W::Elixir => L::Elixir.$method($($pname,)*),
145142
W::Go => L::Go.$method($($pname,)*),
146143
W::Html => L::Html.$method($($pname,)*),

website/guide/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ast-grep supports a wide range of programming languages. Here is a list of notab
3939
|System Programming| `C`, `Cpp`, `Rust`|
4040
|Server Side Programming| `Go`, `Java`, `Python`, `C-sharp`|
4141
|Web Development| `JS(X)`, `TS(X)`, `HTML`, `CSS`|
42-
|Mobile App Development| `Dart`, `Kotlin`, `Swift`|
42+
|Mobile App Development| `Kotlin`, `Swift`|
4343
|Configuration | `Json`, `YAML`|
4444
|Scripting, Protocols, etc.| `Lua`, `Thrift`|
4545

website/playground.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: ast-grep playground is an online tool that lets you explore AST, de
66
head:
77
- - meta
88
- name: keywords
9-
content: pattern, abstract syntax tree, online playground, debug, refactor, dart, javascript, python, rust, go, scala, ruby
9+
content: pattern, abstract syntax tree, online playground, debug, refactor, javascript, python, rust, go, scala, ruby
1010
---
1111

1212
<script setup>
-759 KB
Binary file not shown.

website/reference/api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export const enum Lang {
2929
C = 'C',
3030
Cpp = 'Cpp',
3131
CSharp = 'CSharp',
32-
Dart = 'Dart',
3332
Go = 'Go',
3433
Elixir = 'Elixir',
3534
Haskell = 'Haskell',

website/reference/languages.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ The table below lists all languages that are supported by ast-grep.
1515
|Cpp | `cc`, `c++`, `cpp`, `cxx` | `cc`, `hpp`, `cpp`, `c++`, `hh`, `cxx`, `cu`, `ino`|
1616
|CSharp | `cs`, `csharp` | `cs`|
1717
|Css | `css` | `css`|
18-
|Dart | `dart` | `dart`|
1918
|Elixir | `ex`, `elixir` | `ex`, `exs`|
2019
|Go | `go`, `golang` | `go`|
2120
|Haskell | `hs`, `haskell` | `hs`|

website/reference/yaml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ id: no-console-log
3333

3434
Specify the language to parse and the file extension to includ in matching.
3535

36-
Valid values are: `C`, `Cpp`, `CSharp`, `Css`, `Dart`, `Go`, `Html`, `Java`, `JavaScript`, `Kotlin`, `Lua`, `Python`, `Rust`, `Scala`, `Swift`, `Thrift`, `Tsx`, `TypeScript`
36+
Valid values are: `C`, `Cpp`, `CSharp`, `Css`, `Go`, `Html`, `Java`, `JavaScript`, `Kotlin`, `Lua`, `Python`, `Rust`, `Scala`, `Swift`, `Thrift`, `Tsx`, `TypeScript`
3737

3838
Example:
3939
```yaml

website/src/components/astGrep/lang.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const parserPaths = {
1414
csharp: 'tree-sitter-c_sharp.wasm',
1515
css: 'tree-sitter-css.wasm',
1616
cpp: 'tree-sitter-cpp.wasm',
17-
dart: 'tree-sitter-dart.wasm',
1817
elixir: 'tree-sitter-elixir.wasm',
1918
go: 'tree-sitter-go.wasm',
2019
html: 'tree-sitter-html.wasm',
@@ -49,7 +48,6 @@ export const languageDisplayNames: Record<SupportedLang, string> = {
4948
csharp: 'C#',
5049
css: 'CSS',
5150
cpp: 'C++',
52-
dart: 'Dart',
5351
elixir: 'Elixir',
5452
go: 'Go',
5553
html: 'HTML',

0 commit comments

Comments
 (0)