mirror of
https://github.com/mudabbir-ahmad/MYOL-TB2-prog3-Py.git
synced 2026-10-07 19:40:21 +00:00
Add ANTLR grammar for greetings and farewells with corresponding parser and listener implementations
This commit is contained in:
1 parent
2027302cf1
commit
6205020013
30 files changed
+1109
-37
No files matched your search
@@ -0,0 +1,39 @@
|
||||
// Generated from Hello.g4 by ANTLR 4.13.2
|
||||
import org.antlr.v4.runtime.tree.ParseTreeListener;
|
||||
|
||||
/**
|
||||
* This interface defines a complete listener for a parse tree produced by
|
||||
* {@link HelloParser}.
|
||||
*/
|
||||
public interface HelloListener extends ParseTreeListener {
|
||||
/**
|
||||
* Enter a parse tree produced by {@link HelloParser#greeting}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void enterGreeting(HelloParser.GreetingContext ctx);
|
||||
/**
|
||||
* Exit a parse tree produced by {@link HelloParser#greeting}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitGreeting(HelloParser.GreetingContext ctx);
|
||||
/**
|
||||
* Enter a parse tree produced by {@link HelloParser#greet}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void enterGreet(HelloParser.GreetContext ctx);
|
||||
/**
|
||||
* Exit a parse tree produced by {@link HelloParser#greet}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitGreet(HelloParser.GreetContext ctx);
|
||||
/**
|
||||
* Enter a parse tree produced by {@link HelloParser#start}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void enterStart(HelloParser.StartContext ctx);
|
||||
/**
|
||||
* Exit a parse tree produced by {@link HelloParser#start}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitStart(HelloParser.StartContext ctx);
|
||||
}
|
||||
Reference in new issue
Block a user