-
发现自定义的 customTransformers 执行会报错, 貌似是 ts2php 内置的 transformer 会破坏原 ast 的结构, 导致自定义的 transformer 里遍历 ast 会报错, 用的是 ` ts.visitEachChild` 来遍历。
猜测是这里的处理有问题:
https://github.com/searchfe/ts2php/blob/f511257…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR13618](https://bugs.llvm.org/show_bug.cgi?id=13618) |
| Status | NEW |
| Importance | P normal |
|…
-
Late name resolution happens on the AST and is responsible for finding which definition each name in the AST points to, be it a type, trait expression, pattern, lifetime or label. The name "late" mea…
-
macdeMBP-2:app 2 wg$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.15.2, on Mac OS X 10.14.6 18G103, locale zh-Hans-CN)
[✓] Andro…
-
I have the following function:
b1 = Signal(intbv()[8:])
b2 = Signal(intbv()[8:])
…
-
**Describe the bug**
same file parse twice, different output
**Input code**
```
//test.jsx
const a = 1
```
import { parseFileSync } from '@swc/core';
const ast = parseFileSync('./tes…
-
I'm not sure how to reproduce this with a small test case, but I have reliable repro steps (see below).
Have a look at the difference between patchsets 1 and 2 in the following CL: https://dart-rev…
-
Let's parse `.java` code to AST
-
This will allow to easily port TAPL into all other languages supported by antlr
-
If and While should support inserts in their conditions. For instance this program:
```groovy
install {
start main
}
String MY_CONSTANT = "this is a constant"
impulse process main {
if:…