default.txt 438 B

123456789101112131415161718192021
  1. import module1, module2, module3
  2. from module4 import nil
  3. type
  4. TFoo = object ## Doc comment
  5. a: int32
  6. PFoo = ref TFoo
  7. proc do_stuff314(param_1: TFoo, par2am: var PFoo): PFoo {.exportc: "dostuff" .} =
  8. # Regular comment
  9. discard """
  10. dfag
  11. sdfg""
  12. """
  13. result = nil
  14. method abc(a: TFoo) = discard 1u32 + 0xabcdefABCDEFi32 + 0o01234567i8 + 0b010
  15. discard rawstring"asdf""adfa"
  16. var normalstring = "asdf"
  17. let a: uint32 = 0xFFaF'u32