third_party/blink/renderer/bindings/scripts/web_idl/ir_builder.py
def _create_type(self, keyword_or_identifier, **kwargs):
        """Constructs a new IdlType from a type keyword or identifier."""
        name = keyword_or_identifier
        if isinstance(name, Identifier):
            return self._idl_type_factory.reference_type(name, **kwargs)
        elif isinstance(name, str):
            return self._idl_type_factory.simple_type(name, **kwargs)
        else:
            assert False
Constructs a new IdlType from a type keyword or identifier.
Constructs a new IdlType from a type keyword or identifier.
Constructs a new IdlType from a type keyword or identifier .
def _create_type(self, keyword_or_identifier, **kwargs):
        name = keyword_or_identifier
        if isinstance(name, Identifier):
            return self._idl_type_factory.reference_type(name, **kwargs)
        elif isinstance(name, str):
            return self._idl_type_factory.simple_type(name, **kwargs)
        else:
            assert False
def _create_type ( self , keyword_or_identifier , ** kwargs ) : name = keyword_or_identifier if isinstance ( name , Identifier ) : return self . _idl_type_factory . reference_type ( name , ** kwargs ) elif isinstance ( name , str ) : return self . _idl_type_factory . simple_type ( name , ** kwargs ) else : assert False
Constructs a new IdlType from a type keyword or identifier.
Constructs a new IdlType from a type keyword or identifier .
"""Constructs a new IdlType from a type keyword or identifier."""
self
keyword_or_identifier