xasmBaseListener.h 4 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

// Generated from xasm.g4 by ANTLR 4.7.2

#pragma once


#include "antlr4-runtime.h"
#include "xasmListener.h"


namespace xasm {

/**
 * This class provides an empty implementation of xasmListener,
 * which can be extended to create a listener which only needs to handle a subset
 * of the available methods.
 */
class  xasmBaseListener : public xasmListener {
public:

  virtual void enterXaccsrc(xasmParser::XaccsrcContext * /*ctx*/) override { }
  virtual void exitXaccsrc(xasmParser::XaccsrcContext * /*ctx*/) override { }

  virtual void enterXacckernel(xasmParser::XacckernelContext * /*ctx*/) override { }
  virtual void exitXacckernel(xasmParser::XacckernelContext * /*ctx*/) override { }

  virtual void enterXacclambda(xasmParser::XacclambdaContext * /*ctx*/) override { }
  virtual void exitXacclambda(xasmParser::XacclambdaContext * /*ctx*/) override { }

  virtual void enterTypedparam(xasmParser::TypedparamContext * /*ctx*/) override { }
  virtual void exitTypedparam(xasmParser::TypedparamContext * /*ctx*/) override { }

  virtual void enterType(xasmParser::TypeContext * /*ctx*/) override { }
  virtual void exitType(xasmParser::TypeContext * /*ctx*/) override { }

  virtual void enterMainprog(xasmParser::MainprogContext * /*ctx*/) override { }
  virtual void exitMainprog(xasmParser::MainprogContext * /*ctx*/) override { }

  virtual void enterProgram(xasmParser::ProgramContext * /*ctx*/) override { }
  virtual void exitProgram(xasmParser::ProgramContext * /*ctx*/) override { }

  virtual void enterLine(xasmParser::LineContext * /*ctx*/) override { }
  virtual void exitLine(xasmParser::LineContext * /*ctx*/) override { }

  virtual void enterStatement(xasmParser::StatementContext * /*ctx*/) override { }
  virtual void exitStatement(xasmParser::StatementContext * /*ctx*/) override { }

  virtual void enterComment(xasmParser::CommentContext * /*ctx*/) override { }
  virtual void exitComment(xasmParser::CommentContext * /*ctx*/) override { }

  virtual void enterInstruction(xasmParser::InstructionContext * /*ctx*/) override { }
  virtual void exitInstruction(xasmParser::InstructionContext * /*ctx*/) override { }

  virtual void enterBufferIndex(xasmParser::BufferIndexContext * /*ctx*/) override { }
  virtual void exitBufferIndex(xasmParser::BufferIndexContext * /*ctx*/) override { }

Mccaskey, Alex's avatar
Mccaskey, Alex committed
57
58
  virtual void enterBitsOrParamType(xasmParser::BitsOrParamTypeContext * /*ctx*/) override { }
  virtual void exitBitsOrParamType(xasmParser::BitsOrParamTypeContext * /*ctx*/) override { }
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92

  virtual void enterOptionsMap(xasmParser::OptionsMapContext * /*ctx*/) override { }
  virtual void exitOptionsMap(xasmParser::OptionsMapContext * /*ctx*/) override { }

  virtual void enterOptionsType(xasmParser::OptionsTypeContext * /*ctx*/) override { }
  virtual void exitOptionsType(xasmParser::OptionsTypeContext * /*ctx*/) override { }

  virtual void enterExplist(xasmParser::ExplistContext * /*ctx*/) override { }
  virtual void exitExplist(xasmParser::ExplistContext * /*ctx*/) override { }

  virtual void enterExp(xasmParser::ExpContext * /*ctx*/) override { }
  virtual void exitExp(xasmParser::ExpContext * /*ctx*/) override { }

  virtual void enterUnaryop(xasmParser::UnaryopContext * /*ctx*/) override { }
  virtual void exitUnaryop(xasmParser::UnaryopContext * /*ctx*/) override { }

  virtual void enterId(xasmParser::IdContext * /*ctx*/) override { }
  virtual void exitId(xasmParser::IdContext * /*ctx*/) override { }

  virtual void enterReal(xasmParser::RealContext * /*ctx*/) override { }
  virtual void exitReal(xasmParser::RealContext * /*ctx*/) override { }

  virtual void enterString(xasmParser::StringContext * /*ctx*/) override { }
  virtual void exitString(xasmParser::StringContext * /*ctx*/) override { }


  virtual void enterEveryRule(antlr4::ParserRuleContext * /*ctx*/) override { }
  virtual void exitEveryRule(antlr4::ParserRuleContext * /*ctx*/) override { }
  virtual void visitTerminal(antlr4::tree::TerminalNode * /*node*/) override { }
  virtual void visitErrorNode(antlr4::tree::ErrorNode * /*node*/) override { }

};

}  // namespace xasm