fp-il

My bachelor project (unfinished)
Log | Files | Refs

ANFListener.py (6119B)


      1 # Generated from /home/erik/PycharmProjects/pythonProject/grammar/ANF.g4 by ANTLR 4.13.1
      2 from antlr4 import *
      3 if "." in __name__:
      4     from .ANFParser import ANFParser
      5 else:
      6     from ANFParser import ANFParser
      7 
      8 # This class defines a complete listener for a parse tree produced by ANFParser.
      9 class ANFListener(ParseTreeListener):
     10 
     11     # Enter a parse tree produced by ANFParser#prog.
     12     def enterProg(self, ctx:ANFParser.ProgContext):
     13         pass
     14 
     15     # Exit a parse tree produced by ANFParser#prog.
     16     def exitProg(self, ctx:ANFParser.ProgContext):
     17         pass
     18 
     19 
     20     # Enter a parse tree produced by ANFParser#def.
     21     def enterDef(self, ctx:ANFParser.DefContext):
     22         pass
     23 
     24     # Exit a parse tree produced by ANFParser#def.
     25     def exitDef(self, ctx:ANFParser.DefContext):
     26         pass
     27 
     28 
     29     # Enter a parse tree produced by ANFParser#true.
     30     def enterTrue(self, ctx:ANFParser.TrueContext):
     31         pass
     32 
     33     # Exit a parse tree produced by ANFParser#true.
     34     def exitTrue(self, ctx:ANFParser.TrueContext):
     35         pass
     36 
     37 
     38     # Enter a parse tree produced by ANFParser#false.
     39     def enterFalse(self, ctx:ANFParser.FalseContext):
     40         pass
     41 
     42     # Exit a parse tree produced by ANFParser#false.
     43     def exitFalse(self, ctx:ANFParser.FalseContext):
     44         pass
     45 
     46 
     47     # Enter a parse tree produced by ANFParser#var.
     48     def enterVar(self, ctx:ANFParser.VarContext):
     49         pass
     50 
     51     # Exit a parse tree produced by ANFParser#var.
     52     def exitVar(self, ctx:ANFParser.VarContext):
     53         pass
     54 
     55 
     56     # Enter a parse tree produced by ANFParser#num.
     57     def enterNum(self, ctx:ANFParser.NumContext):
     58         pass
     59 
     60     # Exit a parse tree produced by ANFParser#num.
     61     def exitNum(self, ctx:ANFParser.NumContext):
     62         pass
     63 
     64 
     65     # Enter a parse tree produced by ANFParser#str.
     66     def enterStr(self, ctx:ANFParser.StrContext):
     67         pass
     68 
     69     # Exit a parse tree produced by ANFParser#str.
     70     def exitStr(self, ctx:ANFParser.StrContext):
     71         pass
     72 
     73 
     74     # Enter a parse tree produced by ANFParser#add.
     75     def enterAdd(self, ctx:ANFParser.AddContext):
     76         pass
     77 
     78     # Exit a parse tree produced by ANFParser#add.
     79     def exitAdd(self, ctx:ANFParser.AddContext):
     80         pass
     81 
     82 
     83     # Enter a parse tree produced by ANFParser#sub.
     84     def enterSub(self, ctx:ANFParser.SubContext):
     85         pass
     86 
     87     # Exit a parse tree produced by ANFParser#sub.
     88     def exitSub(self, ctx:ANFParser.SubContext):
     89         pass
     90 
     91 
     92     # Enter a parse tree produced by ANFParser#mul.
     93     def enterMul(self, ctx:ANFParser.MulContext):
     94         pass
     95 
     96     # Exit a parse tree produced by ANFParser#mul.
     97     def exitMul(self, ctx:ANFParser.MulContext):
     98         pass
     99 
    100 
    101     # Enter a parse tree produced by ANFParser#div.
    102     def enterDiv(self, ctx:ANFParser.DivContext):
    103         pass
    104 
    105     # Exit a parse tree produced by ANFParser#div.
    106     def exitDiv(self, ctx:ANFParser.DivContext):
    107         pass
    108 
    109 
    110     # Enter a parse tree produced by ANFParser#gt.
    111     def enterGt(self, ctx:ANFParser.GtContext):
    112         pass
    113 
    114     # Exit a parse tree produced by ANFParser#gt.
    115     def exitGt(self, ctx:ANFParser.GtContext):
    116         pass
    117 
    118 
    119     # Enter a parse tree produced by ANFParser#lt.
    120     def enterLt(self, ctx:ANFParser.LtContext):
    121         pass
    122 
    123     # Exit a parse tree produced by ANFParser#lt.
    124     def exitLt(self, ctx:ANFParser.LtContext):
    125         pass
    126 
    127 
    128     # Enter a parse tree produced by ANFParser#eq.
    129     def enterEq(self, ctx:ANFParser.EqContext):
    130         pass
    131 
    132     # Exit a parse tree produced by ANFParser#eq.
    133     def exitEq(self, ctx:ANFParser.EqContext):
    134         pass
    135 
    136 
    137     # Enter a parse tree produced by ANFParser#bsl.
    138     def enterBsl(self, ctx:ANFParser.BslContext):
    139         pass
    140 
    141     # Exit a parse tree produced by ANFParser#bsl.
    142     def exitBsl(self, ctx:ANFParser.BslContext):
    143         pass
    144 
    145 
    146     # Enter a parse tree produced by ANFParser#bsr.
    147     def enterBsr(self, ctx:ANFParser.BsrContext):
    148         pass
    149 
    150     # Exit a parse tree produced by ANFParser#bsr.
    151     def exitBsr(self, ctx:ANFParser.BsrContext):
    152         pass
    153 
    154 
    155     # Enter a parse tree produced by ANFParser#and.
    156     def enterAnd(self, ctx:ANFParser.AndContext):
    157         pass
    158 
    159     # Exit a parse tree produced by ANFParser#and.
    160     def exitAnd(self, ctx:ANFParser.AndContext):
    161         pass
    162 
    163 
    164     # Enter a parse tree produced by ANFParser#or.
    165     def enterOr(self, ctx:ANFParser.OrContext):
    166         pass
    167 
    168     # Exit a parse tree produced by ANFParser#or.
    169     def exitOr(self, ctx:ANFParser.OrContext):
    170         pass
    171 
    172 
    173     # Enter a parse tree produced by ANFParser#xor.
    174     def enterXor(self, ctx:ANFParser.XorContext):
    175         pass
    176 
    177     # Exit a parse tree produced by ANFParser#xor.
    178     def exitXor(self, ctx:ANFParser.XorContext):
    179         pass
    180 
    181 
    182     # Enter a parse tree produced by ANFParser#lam.
    183     def enterLam(self, ctx:ANFParser.LamContext):
    184         pass
    185 
    186     # Exit a parse tree produced by ANFParser#lam.
    187     def exitLam(self, ctx:ANFParser.LamContext):
    188         pass
    189 
    190 
    191     # Enter a parse tree produced by ANFParser#call.
    192     def enterCall(self, ctx:ANFParser.CallContext):
    193         pass
    194 
    195     # Exit a parse tree produced by ANFParser#call.
    196     def exitCall(self, ctx:ANFParser.CallContext):
    197         pass
    198 
    199 
    200     # Enter a parse tree produced by ANFParser#atom.
    201     def enterAtom(self, ctx:ANFParser.AtomContext):
    202         pass
    203 
    204     # Exit a parse tree produced by ANFParser#atom.
    205     def exitAtom(self, ctx:ANFParser.AtomContext):
    206         pass
    207 
    208 
    209     # Enter a parse tree produced by ANFParser#let.
    210     def enterLet(self, ctx:ANFParser.LetContext):
    211         pass
    212 
    213     # Exit a parse tree produced by ANFParser#let.
    214     def exitLet(self, ctx:ANFParser.LetContext):
    215         pass
    216 
    217 
    218     # Enter a parse tree produced by ANFParser#if.
    219     def enterIf(self, ctx:ANFParser.IfContext):
    220         pass
    221 
    222     # Exit a parse tree produced by ANFParser#if.
    223     def exitIf(self, ctx:ANFParser.IfContext):
    224         pass
    225 
    226 
    227     # Enter a parse tree produced by ANFParser#fc.
    228     def enterFc(self, ctx:ANFParser.FcContext):
    229         pass
    230 
    231     # Exit a parse tree produced by ANFParser#fc.
    232     def exitFc(self, ctx:ANFParser.FcContext):
    233         pass
    234 
    235 
    236 
    237 del ANFParser