Abstract Syntax Tree - CI/CD用語集の定義
abstract syntax tree (AST) とは、parser が生成する木で、ソースコードの文法構造 (式、文、宣言) を表面的な構文を除いて表現したものです。compiler、linter、codemod はすべて AST 上で動作します。
関連ガイド
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 -…