Comments (1)
The issue was pretty unclear about its purpose
I looked at the code apparently. Here are the changes
-export const enum FrontEndLanguage {
- Html = 0,
- JavaScript = 1,
- Tsx = 2,
- Css = 3,
- TypeScript = 4
-}
+ export const enum Lang {
+ Html = 'Html',
+ JavaScript = 'JavaScript',
+ Tsx = 'Tsx',
+ Css = 'Css',
+ TypeScript = 'TypeScript',
+ Bash = 'Bash',
+ C = 'C',
+ Cpp = 'Cpp',
+ CSharp = 'CSharp',
+ Dart = 'Dart',
+ Go = 'Go',
+ Elixir = 'Elixir',
+ Haskell = 'Haskell',
+ Java = 'Java',
+ Json = 'Json',
+ Kotlin = 'Kotlin',
+ Lua = 'Lua',
+ Php = 'Php',
+ Python = 'Python',
+ Ruby = 'Ruby',
+ Rust = 'Rust',
+ Scala = 'Scala',
+ Swift = 'Swift'
+ }
from ast-grep.
Related Issues (20)
- [feature] support selector in sg run
- [bug] napi.findFiles() issue: SgNode for file A apparently references text from file B HOT 8
- [bug] when using --context=<num>, the context strings are not provided with --json=stream HOT 8
- [bug] LSP runs on files outside the workspace root
- [feature] Enable `field` in `any` and `all` when those are in `inside` or `has` HOT 1
- [bug] Parentheses around yield statements HOT 1
- [bug] Constraints are not respected in nested/not patterns HOT 1
- [bug] LSP in 0.26.0 does not work if config file is outside the workspace HOT 2
- [bug] tree_sitter_dart has an older dependency version of tree-sitter HOT 1
- [bug] Python replacement indentation wrong in indented class HOT 8
- [feature] improve documentation for JavaScript API HOT 3
- [bug] nested JSX elements won't be matched in CLI / NAPI HOT 3
- [bug] Overlapping Parent and Child AST Nodes Ambiguity HOT 3
- [feature] YAML support HOT 2
- [bug] 0.27.0:`sg scan` cause panic on GitHub ubuntu-latest HOT 4
- [bug]export specifier isn't recognized HOT 7
- [feature] add follow symbolic links option to CLI HOT 4
- [feature] Add bug report template to give FAQ more exposure
- Non UTF-8 inputs HOT 7
- [bug] `pattern` does not work with language `cpp` on CLI HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ast-grep.