'A simple filter mechanism whereby you can tell this token stream
to force all tokens of type ttype to be on channel.  For example,
when interpreting, we cannot exec actions so we need to tell
the stream to force all WS and NEWLINE to be a different, ignored
channel.'

def setTokenTypeChannel(self, ttype, channel):

    self.channelOverrideMap[ttype] = channel
