Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Currently, (except for
BinaryExpressionandUnaryExpressionwhich return the method based on the expression'sNodeType) all factory methods which return the same object type as the node are displayed. For example,MemberExpressiondisplays:It might be better to show only the specific method that applies to this node, duplicating the logic of the factory methods formatter.
OTOH, as long as there aren't too many, it might be better to show all these possibilities.