ivprogVisitor.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Generated from ../ivprog/grammar/ivprog.g4 by ANTLR 4.7.1
  2. // jshint ignore: start
  3. var antlr4 = require('antlr4/index');
  4. // This class defines a complete generic visitor for a parse tree produced by ivprogParser.
  5. function ivprogVisitor() {
  6. antlr4.tree.ParseTreeVisitor.call(this);
  7. return this;
  8. }
  9. ivprogVisitor.prototype = Object.create(antlr4.tree.ParseTreeVisitor.prototype);
  10. ivprogVisitor.prototype.constructor = ivprogVisitor;
  11. // Visit a parse tree produced by ivprogParser#parse.
  12. ivprogVisitor.prototype.visitParse = function(ctx) {
  13. return this.visitChildren(ctx);
  14. };
  15. // Visit a parse tree produced by ivprogParser#programa.
  16. ivprogVisitor.prototype.visitPrograma = function(ctx) {
  17. return this.visitChildren(ctx);
  18. };
  19. // Visit a parse tree produced by ivprogParser#declaracoesGlobais.
  20. ivprogVisitor.prototype.visitDeclaracoesGlobais = function(ctx) {
  21. return this.visitChildren(ctx);
  22. };
  23. // Visit a parse tree produced by ivprogParser#listaDeclaracoes.
  24. ivprogVisitor.prototype.visitListaDeclaracoes = function(ctx) {
  25. return this.visitChildren(ctx);
  26. };
  27. exports.ivprogVisitor = ivprogVisitor;