User Defined Attributes

deadalnix deadalnix at gmail.com
Sat Nov 10 07:06:57 PST 2012


Le 10/11/2012 05:02, Walter Bright a écrit :
> On 11/9/2012 6:28 PM, deadalnix wrote:
>> Le 08/11/2012 11:56, Walter Bright a écrit :
>>> On 11/7/2012 11:27 PM, Jacob Carlborg wrote:
>>>> On 2012-11-08 02:49, Walter Bright wrote:
>>>>
>>>>> Yes, that makes the attribute global.
>>>>
>>>> I don't actually know how this works in Java but if you are forced to
>>>> use the
>>>> fully qualified name for the attribute it won't make the attribute
>>>> global.
>>>>
>>>
>>> A plugin would apply globally, wouldn't it?
>>
>> No it would apply on symbols qualified with a given attribute
>> (provided by the
>> plugin).
>
> Meaning a given attribute can have only one, global, meaning.

Yes, it have to. What is the point of attaching an attribute is you 
cannot know what meaning it has ?

If an attribute can have ambiguous meaning, then it defeat the whole 
point of having attribute.


More information about the Digitalmars-d-announce mailing list