about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-identifier-formatting.nix
blob: 58af3d6d16abf3ebecfaa650e7517083bfc5f0a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Note: the attribute values in this set aren't just dummies!  They
# are booleans which indicate whether or not the corresponding
# attrname is valid without quotification.
{
  __internal = true;
  _internal = true;
  normal = true;
  VeryNormal = true;
  normal2 = true;
  Very2Normal = true;
  _'12 = true;
  foldl' = true;
  x = true;
  x' = true;
  x'' = true;

  true = true;
  false = true;
  null = true;
  or = true;
  "assert" = false;
  throw = true;
  abort = true;

  "9front" = false;
  "2normal" = false;
  "-20°" = false;
  "45 44 43-'3 2 1" = false;
  "attr.path" = false;
  "'quoted'" = false;
  "_'12.5" = false;
  "😀" = false;

  "if" = false;
  "then" = false;
  "else" = false;
  "with" = false;
  "let" = false;
  "in" = false;
  "rec" = false;
  "inherit" = false;
}