Abstract Syntax Tree - Definição do Glossário de CI/CD
Uma abstract syntax tree (AST) é a árvore que um parser produz representando a estrutura gramatical do código-fonte (expressões, instruções, declarações) livre da sintaxe superficial; compiladores, linters e codemods operam todos sobre a AST.
Guias relacionados
Parser - CI/CD Glossary DefinitionA parser consumes tokens from the lexer and builds an abstract syntax tree per the language grammar, reportin…
Lexer - CI/CD Glossary DefinitionA lexer scans raw source characters into tokens - keywords, identifiers, literals - the first compiler stage…
Semantic Analysis - CI/CD Glossary DefinitionSemantic analysis checks an AST for meaning-level rules a grammar can’t - scope, types, declared-before-use -…