February 25, 2014 Re: What does q{...} mean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to monarch_dodra | On Monday, 24 February 2014 at 18:40:14 UTC, monarch_dodra wrote:
> Also, a "qstring" can only contain valid D tokens ("token string"). If your mixin string does not adhere some the base D syntaxic rules, you'll get a compilation error. In particular, you'll need balanced bracing/parenthesising, and correctly formed tokens.
And even with all these rules, it still works great for other languages like Lua.
|
Copyright © 1999-2021 by the D Language Foundation