'Looks up types that were previously defined with
typedef.
Passed to the lexer for recognizing identifiers that
are types.'

def _lex_type_lookup_func(self, name):

    is_type = self._is_type_in_scope(name)
    return is_type
