[Improvement] Token retrieval on AST nodes
#51 · Go · ★ 35 · MIT · updated 6d ago
Currently, each AST node simply has a list of tokens associated to it. I.e. if I parse something like: state State_1; The state receives ["state", "State_1", ";"] as its token list. While State_1 (i.e. the name of the element) gets a fitting NameToken() method, the ["state", ";"]…
replies in ~5d7/8 outside PRs mergedhas CONTRIBUTINGnobody circling
Cleared 1m ago