Comments (2)
@sharwell: Reviewing status on this issue. It seems relatively minor at this point, but all generated invocations of the new VocabularyImpl
currently come from same the template line, using only 2 out of 3 arguments meaningfully.
Reviewing the existing code invoking this, it's not even clear what the use case for the displayNames
argument is, though I gather it's mainly about debug output, and perhaps even only for cases where a hand-written tokenizer has been written. We've clearly got no tests which depend on this.
In terms of ts-flavor, I think there' slots that could be done to tighten up Vocabulary & VocabularyImpl, but not sure it's a good use of time at this point. We probably ought to discuss at a higher level where to direct energy next...
from antlr4ts.
Fixed by #78
from antlr4ts.
Related Issues (20)
- Can't run on an Angular project? HOT 2
- Inconsistent file generation across operating systems
- Example in the README uses a deprecated feature
- Generated Parser refers to C++ Classes (std::set<std::string>), unable to compile TS HOT 1
- Cannot find module ‘node_modules\antlr4ts\atn\ATN‘ HOT 1
- Please add support for Typescript 4.4.x HOT 11
- Update serialization version support
- Grammar r file `exception` rule is conflict with ParserRuleContext.exception
- antlr4ts cli's -o option is wrong affected by the grammar file option
- Incorporate the >4.10 release
- child process exited with code 3221226505
- return type declaration does not support function types
- Project continues to be updated? HOT 4
- Argument of type 'SqlParser' is not assignable to parameter of type 'Parser'.
- Uncaught TypeError: Cannot read properties of undefined (reading 'custom') at node_modules/antlr4ts/misc/BitSet.js (BitSet.ts:834:32) HOT 7
- Could not generate files with esm type
- "cannot find tokens file" (documentation missing) HOT 1
- TS2339: Property 'compilationUnit' does not exist on type 'Python3Parser'. HOT 1
- Webpack 5 - AntlrTS in Browser HOT 3
- Suggestion for transformation of parse tree
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 antlr4ts.