| Index: runtime/vm/parser.h
|
| diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
|
| index c1160d400b0fa8a3b1d83e4f0bb510c25274298c..d1f891e758d98c935e6be0acb7e52816b42c4032 100644
|
| --- a/runtime/vm/parser.h
|
| +++ b/runtime/vm/parser.h
|
| @@ -666,6 +666,11 @@ class Parser : public ValueObject {
|
| // global variables.
|
| bool is_top_level_;
|
|
|
| + // True when evaluating metadata. Used to make decisions otherwise based on
|
| + // the current_function().
|
| + void set_parsing_metadata(bool value) { parsing_metadata_ = value; }
|
| + bool parsing_metadata_;
|
| +
|
| // The member currently being parsed during "top level" parsing.
|
| MemberDesc* current_member_;
|
|
|
|
|