A tree representation of a program's grammatical structure produced by a compiler's parsing stage, with each node standing for a construct in the source code such as an expression, statement or declaration, stripped of the concrete punctuation the parser already consumed.
Facts
Core PrincipleIt is a tree representation of the abstract syntactic structure of text (often source code) written in a formal language. Each node of the tree denotes a construct occurring in the text. 1 Connections
Sources
1. Abstract syntax tree, Wikipedia
Lead section
It is a tree representation of the abstract syntactic structure of text (often source code) written in a formal language. Each node of the tree denotes a construct occurring in the text.
In Group: Tree Data Structures, Lead
It is a tree representation of the abstract syntactic structure of text
View the SourceReader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.