Kenny F.
Kenny F.
I looked at it. You may take a look at custom parsing in EScaya. Should help you simplify things, and you can use a 'noop' for almost all functions to...
@davidbonnet yes, we could add this to the parser. I have no time now, but a PR is always welcome
@davidbonnet Any update on this?
It looks okay, but I guess it's value is something like '-242585759" ? I didn't check it, but in some cases NodeJS / browser can end up mixing together multiple...
@3cp Take a look at this error diagnostics https://github.com/kataw/kataw/blob/83b25a20ea8a6ffb8cf419b2cb5c1678e4e96f7e/test/__snapshot__/parser/expressions/classes/invalid-class-fields.md#diagnostics
Not me. My student did that. Why?
What other parsers do ?
@3cp I will ask him. I know his language @tscpp Kan du utarbeta lite mer om vad du menar? Alla "parsers" gör samma sak. Och i Meriyah är detta baserat...
@3cp It shouldn't be too hard to add extra property? See [this code](https://github.com/meriyah/meriyah/blob/master/src/errors.ts#L350). Loc already exist. Shouldn't affect the rest of the AST nodes. @tscpp Sounds okay? I'm not sure...
I don't think it's an standard on this. All Parsers report this differently. Try to look what others do with AST explorer