Home | History | Annotate | Download | only in antlr3

Lines Matching refs:tokenSource

246     @brief A stream of tokens accessing tokens from a TokenSource
617 def __init__(self, tokenSource=None, channel=DEFAULT_CHANNEL):
619 @param tokenSource A TokenSource instance (usually a Lexer) to pull
629 self.tokenSource = tokenSource
660 return self.tokenSource.makeEOFToken()
663 def setTokenSource(self, tokenSource):
666 self.tokenSource = tokenSource
686 t = self.tokenSource.nextToken()
715 t = self.tokenSource.nextToken()
926 return self.tokenSource
930 return self.tokenSource.getSourceName()
1081 def __init__(self, tokenSource=None, channel=DEFAULT_CHANNEL):
1082 CommonTokenStream.__init__(self, tokenSource, channel)