Codebase list ohcount / 81a9b407-9b9f-4b49-8972-ed3f6d30059f/main test / src_dir / macro_crystal.cr
81a9b407-9b9f-4b49-8972-ed3f6d30059f/main

Tree @81a9b407-9b9f-4b49-8972-ed3f6d30059f/main (Download .tar.gz)

macro_crystal.cr @81a9b407-9b9f-4b49-8972-ed3f6d30059f/mainraw · history · blame

1
2
3
4
5
# This is a comment.

macro create_foo(name, &block)
  {% name.id = "bar" %}
  {{block}}