keywords.carbon 895 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. // --- operators
  5. >>= <=> <<= &= == != >= >> <= << -= -> -- %= \ = += ++ /= *= & ^ = > < - % . | + / *
  6. and as impls in like not or partial ref template where
  7. // --- special-keywords
  8. break case continue else if for match return returned then while
  9. default =>
  10. // --- introducer-keywords
  11. adapt alias choice class constraint fn import interface let library namespace var
  12. base
  13. export
  14. impl
  15. package
  16. // --- modifier-keywords
  17. abstract const extend extern final private protected virtual
  18. base class
  19. default
  20. export import
  21. impl fn
  22. impl library
  23. impl package
  24. // --- misc-keywords
  25. auto destructor forall friend observe override require
  26. .base
  27. // --- self-keywords
  28. self Self
  29. // --- underscore
  30. ;
  31. _
  32. _some_var