作为标识符的关键词

如果一个关键词被括在反撇号里,就失去了关键词的属性,变成了一个普通的标识符。

Examples

  1. var `var` = "Hello Stropping"
  1. type Obj = object
  2. `type`: int
  3. let `object` = Obj(`type`: 9)
  4. assert `object` is Obj
  5. assert `object`.`type` == 9
  6. var `var` = 42
  7. let `let` = 8
  8. assert `var` + `let` == 50
  9. const `assert` = true
  10. assert `assert`