blob: 8e0de3c22a370ef96ebe0517db977fb3ab5996a7 [file] [log] [blame]
// Copyright (c) 2020, 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.
/// Dart reserved keywords, used for resolving conflict with a name.
///
/// Source: https://dart.dev/guides/language/language-tour#keywords.
const keywords = {
'abstract',
'else',
'import',
'super',
'as',
'enum',
'in',
'switch',
'assert',
'export',
'interface',
'sync',
'async',
'extends',
'is',
'this',
'await',
'extension',
'library',
'throw',
'break',
'external',
'mixin',
'true',
'case',
'factory',
'new',
'try',
'catch',
'false',
'null',
'typedef',
'class',
'final',
'on',
'var',
'const',
'finally',
'operator',
'void',
'continue',
'for',
'part',
'while',
'covariant',
'Function',
'rethrow',
'with',
'default',
'get',
'return',
'yield',
'deferred',
'hide',
'set',
'do',
'if',
'show',
'dynamic',
'implements',
'static',
'late',
};