514 {
518 function_node_helper.ReadUntilExcluding(
520 intptr_t param_count = function_node_helper.total_parameter_count_;
522 intptr_t named_parameter_count = param_count - positional_count;
523
526 for (intptr_t
i = 0;
i < param_count; ++
i) {
528
529 if (
i == positional_count) {
530 intptr_t named_parameter_count_check =
532 ASSERT(named_parameter_count_check == named_parameter_count);
533 }
534
535
541
543 if ((tag == kSomething) && !
function.is_abstract()) {
544
548 constant);
549 } else {
550 if (tag == kSomething) {
552 }
554 Object::null_instance());
555 }
556
557 if (FLAG_enable_mirrors && (helper.annotation_count_ > 0)) {
558 AlternativeReadingScope alt(&
reader_, param_kernel_offset);
561 Object& metadata =
564 metadata);
565 } else {
567 Object::null_instance());
568 }
569 }
570 return param_descriptor.ptr();
571}
static ArrayPtr New(intptr_t len, Heap::Space space=Heap::kNew)
static const Bool & False()
static const Bool & True()
static Object & ZoneHandle()
@ kParameterDefaultValueOffset
@ kParameterIsFinalOffset
@ kParameterMetadataOffset
InstancePtr ReadConstantExpression()
ObjectPtr ReadAnnotations()
void SetOffset(intptr_t offset)
void ReadUntilFunctionNode()
friend class VariableDeclarationHelper
intptr_t ReadListLength()
Tag ReadTag(uint8_t *payload=nullptr)
friend class FunctionNodeHelper
Dart_NativeFunction function