struct AttrsWithEscapedStringArgs { dollar string @[foo: '\$var'] double_bs string @[bar: '\\baz'] } @[deprecated: 'use bar() instead'] @[foo: bar] @[if debug; inline] fn keep_attributes() { println('hi !') } @[bar: 'foo'] fn attr_with_arg() {} @['a_string_name'] fn name_only_attr() {} struct User { age int nums []int last_name string @[json: lastName] is_registered bool @[json: IsRegistered] typ int @[json: 'type'] pets string @[json: 'pet_animals'; raw] } @[_allow_multiple_values] enum Example { value1 = 1 value1_again = 1 } @[deprecated: 'use Example instead'] @[deprecated_after: '2040-01-24'] pub type Alias = Example