| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 32c4a6cc6beab3641abd249b659deae81c10e105..cc34297944e9145101747e5caa4457fbf55b0f17 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -2844,6 +2844,11 @@ class Function : public Object {
|
| return RoundedAllocationSize(sizeof(RawFunction));
|
| }
|
|
|
| + static RawFunction* EvaluateHelper(const Class& cls,
|
| + const String& expr,
|
| + const Array& param_names,
|
| + bool is_static);
|
| +
|
| static RawFunction* New(const String& name,
|
| RawFunction::Kind kind,
|
| bool is_static,
|
| @@ -3235,6 +3240,8 @@ class Field : public Object {
|
|
|
| TokenPosition token_pos() const { return raw_ptr()->token_pos_; }
|
|
|
| + RawString* InitializingExpression() const;
|
| +
|
| bool has_initializer() const {
|
| return HasInitializerBit::decode(raw_ptr()->kind_bits_);
|
| }
|
| @@ -3606,6 +3613,7 @@ class Script : public Object {
|
| RawLibrary* FindLibrary() const;
|
| RawString* GetLine(intptr_t line_number,
|
| Heap::Space space = Heap::kNew) const;
|
| + RawString* GetSnippet(TokenPosition from, TokenPosition to) const;
|
| RawString* GetSnippet(intptr_t from_line,
|
| intptr_t from_column,
|
| intptr_t to_line,
|
|
|