1.概述 参考Antlr4 权威指南 4.4 章节 g4 文件如下 grammar Rows; @parser::members { // add members to generated RowsParser int col; public RowsParser(TokenStream input, int col) { // custom cons