Merge pull request #1536 from ericvergnaud/missing-python-imports

fixes #1530 and #1531
This commit is contained in:
Terence Parr 2016-12-20 10:45:42 -08:00 committed by GitHub
commit 3cd5e746de
3 changed files with 6 additions and 4 deletions

View File

@ -10,7 +10,8 @@ from antlr4.atn.ATNDeserializer import ATNDeserializer
from antlr4.atn.ATNDeserializationOptions import ATNDeserializationOptions
from antlr4.error.Errors import UnsupportedOperationException
from antlr4.tree.ParseTreePatternMatcher import ParseTreePatternMatcher
from antlr4.tree.Tree import ParseTreeListener
from antlr4.tree.Tree import ParseTreeListener, ErrorNode, TerminalNode
class TraceListener(ParseTreeListener):

View File

@ -5,9 +5,7 @@
#/
from io import StringIO
from antlr4.RuleContext import RuleContext
from antlr4.atn.ATN import ATN
from antlr4.atn.ATNState import ATNState
from antlr4.error.Errors import IllegalStateException
class PredictionContext(object):

View File

@ -4,6 +4,9 @@
# can be found in the LICENSE.txt file in the project root.
#/
from io import StringIO
from antlr4.error.Errors import IllegalStateException
from antlr4.RuleContext import RuleContext
from antlr4.atn.ATN import ATN
from antlr4.atn.ATNState import ATNState