• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import antlr3
2import testbase
3import unittest
4
5
6class t029synpredgate(testbase.ANTLRTest):
7    def setUp(self):
8        self.compileGrammar()
9
10
11    def testValid1(self):
12        stream = antlr3.StringStream('ac')
13        lexer = self.getLexer(stream)
14        token = lexer.nextToken()
15
16
17if __name__ == '__main__':
18    unittest.main()
19
20
21
22