neogeny / TatSu

竜 TatSu generates Python parsers from grammars in a variation of EBNF

Home Page:https://tatsu.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arguments passed to NodeWalker are not passed correctly if Node is a list instance.

by-Exist opened this issue · comments

The current walk's behavior is:
If "Node" returns walker(node, *args, **kwargs).
For "list[Node]" returns [self.walk(n) for n in node].

I think that args and kwargs should be passed even in the form of list[Node].