1
0
Fork 0

generate with Antlr 4.9.1

This commit is contained in:
Kevin Matz 2021-01-28 08:27:31 -05:00
parent 5c7a2c937a
commit 8056c0098a
3 changed files with 14 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# Generated from CommentMacro.g4 by ANTLR 4.8
# Generated from CommentMacro.g4 by ANTLR 4.9.1
from antlr4 import *
from io import StringIO
from typing.io import TextIO
@ -210,7 +210,7 @@ class CommentMacroLexer(Lexer):
def __init__(self, input=None, output:TextIO = sys.stdout):
super().__init__(input, output)
self.checkVersion("4.8")
self.checkVersion("4.9.1")
self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
self._actions = None
self._predicates = None

View File

@ -1,4 +1,4 @@
# Generated from CommentMacro.g4 by ANTLR 4.8
# Generated from CommentMacro.g4 by ANTLR 4.9.1
from antlr4 import *
if __name__ is not None and "." in __name__:
from .CommentMacroParser import CommentMacroParser

View File

@ -1,4 +1,4 @@
# Generated from CommentMacro.g4 by ANTLR 4.8
# Generated from CommentMacro.g4 by ANTLR 4.9.1
# encoding: utf-8
from antlr4 import *
from io import StringIO
@ -244,7 +244,7 @@ class CommentMacroParser ( Parser ):
def __init__(self, input:TokenStream, output:TextIO = sys.stdout):
super().__init__(input, output)
self.checkVersion("4.8")
self.checkVersion("4.9.1")
self._interp = ParserATNSimulator(self, self.atn, self.decisionsToDFA, self.sharedContextCache)
self._predicates = None
@ -252,6 +252,7 @@ class CommentMacroParser ( Parser ):
class ProgContext(ParserRuleContext):
__slots__ = 'parser'
def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
super().__init__(parent, invokingState)
@ -310,6 +311,7 @@ class CommentMacroParser ( Parser ):
class StatementContext(ParserRuleContext):
__slots__ = 'parser'
def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
super().__init__(parent, invokingState)
@ -391,6 +393,7 @@ class CommentMacroParser ( Parser ):
class MacroContext(ParserRuleContext):
__slots__ = 'parser'
def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
super().__init__(parent, invokingState)
@ -1943,6 +1946,7 @@ class CommentMacroParser ( Parser ):
class TimeContext(ParserRuleContext):
__slots__ = 'parser'
def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
super().__init__(parent, invokingState)
@ -1989,6 +1993,7 @@ class CommentMacroParser ( Parser ):
class DeviceContext(ParserRuleContext):
__slots__ = 'parser'
def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
super().__init__(parent, invokingState)
@ -2036,6 +2041,7 @@ class CommentMacroParser ( Parser ):
class NodeTypeContext(ParserRuleContext):
__slots__ = 'parser'
def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
super().__init__(parent, invokingState)
@ -2088,6 +2094,7 @@ class CommentMacroParser ( Parser ):
class TargetContext(ParserRuleContext):
__slots__ = 'parser'
def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
super().__init__(parent, invokingState)
@ -2165,6 +2172,7 @@ class CommentMacroParser ( Parser ):
class SpanContext(ParserRuleContext):
__slots__ = 'parser'
def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
super().__init__(parent, invokingState)
@ -2218,6 +2226,7 @@ class CommentMacroParser ( Parser ):
class NumberContext(ParserRuleContext):
__slots__ = 'parser'
def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
super().__init__(parent, invokingState)