fe/fe-grammar/README.md
This directory stores the ANTLR grammar files (.g4) for StarRocks SQL. These grammars are the source of truth for SQL syntax and are used to generate the lexer and parser consumed by the FE SQL parser and AST layers.
com.starrocks.sql.ast.fe/fe-parser/ and com.starrocks.sql.ast).fe/fe-core.*.g4 files:
.g4 files.References:
fe/fe-parser/, com/starrocks/sql/ast