mjsondoc.nim 204 B

123456789101112131415
  1. proc doSomething*(x, y: int): int =
  2. ## do something
  3. x + y
  4. const
  5. a* = 1 ## echo 1234
  6. b* = "test"
  7. type
  8. MyEnum* = enum
  9. foo, bar
  10. proc foo2*[T: int, M: string, U](x: T, y: U, z: M) =
  11. echo 1