Open Bug 1529835 Opened 6 years ago Updated 7 months ago

Move name/scope handling to ParseContext methods

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Currently there are several places that handles name/scope in Parser classes.
They're more specific to ParseContext.
Also moving those code to ParseContext simplifies bug 1499044

Ideally Parser class should contain only "Token stream => ParseNode tree" part and
others should be moved to other classes that can be shared between regular parser and BinAST parser.

Severity: normal → S3
Blocks: sm-frontend
Severity: S3 → N/A
You need to log in before you can comment on or make changes to this bug.