第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

在 Antlr4 中找不到符號

在 Antlr4 中找不到符號

不負相思意 2021-09-15 16:59:28
這是我的語法文件,這是我的 SimpleBaseListner.java 文件// Generated from Simple.g4 by ANTLR 4.7.1import org.antlr.v4.runtime.tree.ParseTreeListener;/** * This interface defines a complete listener for a parse tree produced by * {@link SimpleParser}. */public interface SimpleListener extends ParseTreeListener {/** * Enter a parse tree produced by {@link SimpleParser#file}. * @param ctx the parse tree */void enterFile(SimpleParser.FileContext ctx);/** * Exit a parse tree produced by {@link SimpleParser#file}. * @param ctx the parse tree */void exitFile(SimpleParser.FileContext ctx);/** * Enter a parse tree produced by {@link SimpleParser#func}. * @param ctx the parse tree */void enterFunc(SimpleParser.FuncContext ctx);/** * Exit a parse tree produced by {@link SimpleParser#func}. * @param ctx the parse tree */void exitFunc(SimpleParser.FuncContext ctx);/** * Enter a parse tree produced by {@link SimpleParser#arg}. * @param ctx the parse tree */void enterArg(SimpleParser.ArgContext ctx);/** * Exit a parse tree produced by {@link SimpleParser#arg}. * @param ctx the parse tree */void exitArg(SimpleParser.ArgContext ctx);/** * Enter a parse tree produced by {@link SimpleParser#body}. * @param ctx the parse tree */void enterBody(SimpleParser.BodyContext ctx);/** * Exit a parse tree produced by {@link SimpleParser#body}. * @param ctx the parse tree */當我使用編譯它時javac SimpleBaseListner.java,出現(xiàn)以下我是 Antlr4 的新手,我不知道這里出了什么問題。雖然是說找不到符號,但是這個類型的Scope是在語法文件中定義的。因此,據(jù)我所知,它應該在 Antlr4 編譯語法文件時定義。有人能幫我嗎?
查看完整描述

1 回答

  • 1 回答
  • 0 關注
  • 315 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號