You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
345 B

import antlr3
import testbase
import unittest
class t029synpredgate(testbase.ANTLRTest):
def setUp(self):
self.compileGrammar()
def testValid1(self):
stream = antlr3.StringStream('ac')
lexer = self.getLexer(stream)
token = lexer.nextToken()
if __name__ == '__main__':
unittest.main()