Home | History | Annotate | Download | only in scripts

Lines Matching refs:argument

130         'name': argument.name,
132 # 'cpp_type': argument.idl_type.cpp_type_args(raw_type=True),
135 'cpp_type': argument.idl_type.implemented_as + '*',
136 'idl_type': argument.idl_type,
137 'v8_type': v8_types.v8_type(argument.idl_type.name),
138 } for argument in extended_attributes.get('SetWrapperReferenceTo', [])]
349 # with argument count 0.
350 # 2. Return the length of the shortest argument list of the entries in S.
530 An additional argument N (argument count) is needed when overloading
554 # (Passed as argument, nothing to do.)
564 # argument at index i.
566 t = tuple(argument['idl_type_object'] for argument in arguments)
568 # if X?s argument at index i is a final, variadic argument, ?optional?
569 # if the argument is optional, and ?required? otherwise.
572 o = tuple(argument['is_optional'] for argument in arguments)
583 # 1. If argument i of X is not optional, then break this loop.
609 """Returns the distinguishing argument index for a sequence of entries.
615 Spec: http://heycam.github.io/webidl/#dfn-distinguishing-argument-index
621 The lowest such index is termed the distinguishing argument index for the
633 # The spec defines the distinguishing argument index by conditions it must
636 # We compute the distinguishing argument index by first computing the
645 # distinguishing argument index for a given type list length, the types
654 # ?and the booleans in the corresponding list indicating argument
662 'Optionality lists differ below distinguishing argument index %s:\n'
674 raise ValueError('Types in distinguishing argument are not distinct:\n'
684 For a given argument length, bindings test argument at distinguishing
685 argument index, in order given by spec: if it is compatible with
716 # distinguishing argument index for the entries of S.
719 # the distinguishing argument (as ?missing?), so you can specify only some
722 # (d is the distinguishing argument index)
724 # Note: This is the argument that will be used to resolve which
728 # Extract argument and IDL type to simplify accessing these in each loop.
731 idl_types = [argument['idl_type_object'] for argument in arguments]
746 method = next(method for argument, method in arguments_methods
747 if argument['is_optional'])
911 'arguments': [v8_methods.argument_context(interface, constructor, argument, index)
912 for index, argument in enumerate(constructor.arguments)],
920 any(argument for argument in constructor.arguments
921 if argument.idl_type.name == 'SerializedScriptValue' or
922 argument.idl_type.v8_conversion_needs_exception_state),
958 return len([argument for argument in constructor.arguments
959 if not argument.is_optional])