def testLA(self):
    'StringStream.LA()'
    stream = antlr3.StringStream('foo')
    self.failUnlessEqual(stream.LA(1), 'f')
    self.failUnlessEqual(stream.LA(2), 'o')
    self.failUnlessEqual(stream.LA(3), 'o')
    stream.consume()
    stream.consume()
    self.failUnlessEqual(stream.LA(1), 'o')
    self.failUnlessEqual(stream.LA(2), antlr3.EOF)
    self.failUnlessEqual(stream.LA(3), antlr3.EOF)
StringStream.LA()
def testLA(self):
    
    stream = antlr3.StringStream('foo')
    self.failUnlessEqual(stream.LA(1), 'f')
    self.failUnlessEqual(stream.LA(2), 'o')
    self.failUnlessEqual(stream.LA(3), 'o')
    stream.consume()
    stream.consume()
    self.failUnlessEqual(stream.LA(1), 'o')
    self.failUnlessEqual(stream.LA(2), antlr3.EOF)
    self.failUnlessEqual(stream.LA(3), antlr3.EOF)