mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:44:27 +00:00
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:
parent
48fee5f591
commit
5ced1f1cd2
1 changed files with 3 additions and 0 deletions
|
@ -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_; }
|
||||
|
|
Loading…
Reference in a new issue