| # Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file |
| # for details. All rights reserved. Use of this source code is governed by a |
| # BSD-style license that can be found in the LICENSE file. |
| |
| # Definition, offset, method etc extracted by starting the VM with |
| # `-DDFE_VERBOSE=true`, e.g. |
| # ``` |
| # out/ReleaseX64/dart -DDFE_VERBOSE=true --enable-vm-service \ |
| # --disable-service-auth-codes --pause_isolates_on_start inputFile.dart |
| # ``` |
| # and then issuing the expression compilation. |
| # |
| # Private member from superclass. |
| |
| sources: |
| main.dart: | |
| import 'dart:developer'; |
| import 'lib.dart'; |
| |
| class _A extends B { |
| void foo() { |
| debugger(); |
| print("hello"); |
| } |
| } |
| |
| void main() { |
| _A().foo(); |
| } |
| lib.dart: | |
| abstract class B { |
| Object? _foo; |
| } |
| |
| definitions: [] |
| definition_types: [] |
| type_definitions: [] |
| type_bounds: [] |
| type_defaults: [] |
| position: "#_A" |
| method: "foo" |
| static: false |
| offset: 85 |
| scriptUri: main.dart |
| expression: | |
| this._foo |