Giriş
Açıklaması şöyle
Açıklaması şöyle
Şeklen şöyledir.Abstract Syntax Tree is the intermediate representation. AST provides a very optimum way to represent the syntactic structure of the language, where typically the parent node is the operator, and the children node represent the operands or operators (based on cardinality).
IDE'lerde AST
Özellikle IDE'lerde kod tamamlama (code completion) için kullanılır. Açıklaması şöyle.
Code completion and refactoring features are generally implemented by building an abstract syntax tree from the source code. The nodes of the AST represent things such as variables, operators and method calls. When you type foo., the IDE uses the AST to resolve the variable foo to the type Foo and then displays a list of members from that type.
Hiç yorum yok:
Yorum Gönder