-
Given the following code:
```
export const FooFoo = buildFoo('Foo') as unknown as (foo: any) => Foo | FooLegacy;
```
What ast-explorer shows is that the `TSUnionType` node is on the `returnType`…
-
## ICE when a `Copy` trait was implemented on `Drop implementation type` - [`E0184`](https://doc.rust-lang.org/error_codes/E0184.html)
- `Drop` and `copy` is currently disallowed in rustc. In theor…
-
Is it currently possible to print JSX nodes like so:
``` jsx
var x = (
{test}
);
```
They seem to always print like:
``` jsx
var x = (
{test}
);
```
http://felix-kling.de/esprima_ast_e…
-
Your project is awesome, and I wonder if you are aware of this:
https://github.com/antlr/grammars-v4
It's a huge collection of language grammars which can generate JavaScript parsers.
I was …
-
I get the following error while compiling on clang-19:
```text
[build] ../../src/core/include/mp-units/framework/quantity_point.h:111:26: error: type constraint differs in template redeclaration
…
-
**Describe the bug**
Trying to add Vue Language-Tools for the default block parsers that ships with Vue, but it seems to make use of optional chaining and nullish coalescing operators, which throws e…
-
ast example
```json
{
"type": "FunctionDeclaration",
"start": 5,
"end": 25,
"loc": {
"start": {
"line": 2,
"column": …
a-x- updated
2 months ago
-
**Describe the bug**
Right now the flow-parser appears to accept anything and spit out a bogus AST for bogus input.
But what's really happening is the `Program` node it generates also has an `errors…
-
### Clear and concise description of the problem
As a developer using `ast-explorer`, I want to be able to see the AST's parsed by `tree-sitter` / `web-tree-sitter`
### Suggested solution
It would …
-
It would be really cool if AST Explorer was able to support 'Semantic' and/or 'Tree-Sitter':
- https://github.com/github/semantic
- > Parsing, analyzing, and comparing source code across many la…