Files
Sam Rawlins 5dc92fd0ad DAS: rename JSON key constants in tests
Change-Id: Ie73e9bbdb8f244d14be70b26d87b94c3c01b98ec
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/460881
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-11-10 13:15:21 -08:00

32 lines
1.2 KiB
Dart

// Copyright (c) 2014, 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.
const String codeKey = 'code';
const String contextReferencesKey = 'contextMessages';
const String correctionKey = 'correction';
/// Useful for debugging locally, setting this to true will cause all JSON
/// communication to be printed to stdout.
const debugPrintCommunication = false;
const String editsKey = 'edits';
const String endColumnKey = 'endColumn';
const String endLineKey = 'endLine';
const String fileKey = 'file';
const String fileStampKey = 'fileStamp';
const String hasFixKey = 'hasFix';
const String lengthKey = 'length';
const String locationKey = 'location';
const String messageKey = 'message';
const String offsetKey = 'offset';
const String replacementKey = 'replacement';
const String severityKey = 'severity';
const String stackTraceKey = 'stackTrace';
const String startColumnKey = 'startColumn';
const String startLineKey = 'startLine';
const String subscriptionsKey = 'subscriptions';
const String typeKey = 'type';
const String urlKey = 'url';
const String versionKey = 'version';