def getTokenType(self, tokenName):
        """Using the map of token names to token types, return the type."""

        try:
            return self.tokenNameToTypeMap[tokenName]
        except __HOLE__:
            return INVALID_TOKEN_TYPE
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/antlr3/antlr3/treewizard.py/TreeWizard.getTokenType