add documentation to Function::parameter_types

Change-Id: I36012624f0224003cb8c4186bc787172cbc78bc6
Reviewed-on: https://dart-review.googlesource.com/c/85169
Reviewed-by: Martin Kustermann <kustermann@google.com>
This commit is contained in:
Daco Harkes 2018-11-22 15:08:37 +00:00
parent 48fee5f591
commit 5ced1f1cd2

View file

@ -2234,6 +2234,9 @@ class Function : public Object {
RawAbstractType* result_type() const { return raw_ptr()->result_type_; }
void set_result_type(const AbstractType& value) const;
// The parameters, starting with NumImplicitParameters() parameters which are
// only visible to the VM, but not to Dart users.
// Note that type checks exclude implicit parameters.
RawAbstractType* ParameterTypeAt(intptr_t index) const;
void SetParameterTypeAt(intptr_t index, const AbstractType& value) const;
RawArray* parameter_types() const { return raw_ptr()->parameter_types_; }