DescriptionAdd an AST node type enum to AST nodes.
When inspecting an AST node in the debugger, it can be difficult to
find its concrete type. Add a "node_type" virtual function to all the
concrete AST nodes.
Use a macro to generate the definition of node_type as well as Accept
and the AsXXX type testing/casting functions.
Committed: http://code.google.com/p/v8/source/detail?r=5549
Patch Set 1 #Messages
Total messages: 2 (0 generated)
|