Parse tree

Parse tree. Another name: derivation tree (DT). The result of grammatical analysis. The parse tree differs from the abstract syntactical tree in that it contains nodes for those syntactic rules which do not influence the program semantics. A classical example of such nodes is grouping parentheses, while grouping of operands in AST is explicitly defined by the tree structure.

In the library VivaCore our company is developing, it is building the parse tree of the C/C++ code that takes place. It allows you to get some additional information to be used by static code analyzers included into PVS-Studio.

Bugs Found

Checked Projects
Collected Errors
14 526
This website uses cookies and other technology to provide you a more personalized experience. By continuing the view of our web-pages you accept the terms of using these files. If you don't want your personal data to be processed, please, leave this site. Learn More →