-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from parrt/master
Big update to include visitors, update listener names etc...
- Loading branch information
Showing
18 changed files
with
240 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
import org.antlr.v4.runtime.tree.*; | ||
import org.antlr.v4.runtime.Token; | ||
|
||
public interface AVisitor<T> { | ||
T visit(AParser.MultContext ctx); | ||
T visit(AParser.ParensContext ctx); | ||
T visit(AParser.sContext ctx); | ||
T visit(AParser.AddContext ctx); | ||
T visit(AParser.IntContext ctx); | ||
T visitMult(AParser.MultContext ctx); | ||
T visitParens(AParser.ParensContext ctx); | ||
T visitS(AParser.SContext ctx); | ||
T visitPrimary(AParser.PrimaryContext ctx); | ||
T visitAdd(AParser.AddContext ctx); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.