digitalmars.D.learn - Attributes
- Namespace (3/3) Apr 02 2013 Quick question about attributes:
- Jacob Carlborg (5/8) Apr 02 2013 Hmm, I'm not sure. I mean, "@property" is not a single token, it's two.
- Namespace (3/12) Apr 02 2013 Yes all attributes consist of two tokens. But I was a bit shocked
Quick question about attributes: Is it intended that after the ' ' can come any number of blanks? Which means that ' property' is the same as ' property'?
Apr 02 2013
On 2013-04-02 15:40, Namespace wrote:Quick question about attributes: Is it intended that after the ' ' can come any number of blanks? Which means that ' property' is the same as ' property'?Hmm, I'm not sure. I mean, " property" is not a single token, it's two. In general you can have arbitrary amount of whitespace between tokens. -- /Jacob Carlborg
Apr 02 2013
On Tuesday, 2 April 2013 at 14:17:19 UTC, Jacob Carlborg wrote:On 2013-04-02 15:40, Namespace wrote:Yes all attributes consist of two tokens. But I was a bit shocked as I tried it and it worked. :DQuick question about attributes: Is it intended that after the ' ' can come any number of blanks? Which means that ' property' is the same as ' property'?Hmm, I'm not sure. I mean, " property" is not a single token, it's two. In general you can have arbitrary amount of whitespace between tokens.
Apr 02 2013