esprima-dotnet icon indicating copy to clipboard operation
esprima-dotnet copied to clipboard

Create explicit Token constructors and slim Token size

Open lahma opened this issue 2 years ago • 0 comments

  • constructors initialize use case specific fields
  • sub-classes for specialized token types that are rarely used
  • separate ParsedToken which is the only place where Location is needed

Jint tests are unaffected by this.

lahma avatar Apr 15 '22 12:04 lahma