Hello,
I've seen this which stands for a Java Class Declaration:
class_declaration:
modifiers CLASS_TK identifier super interfaces
{ create_class ($1, $3, $4, $5); }
class_body
{;}
| CLASS_TK identifier super interfaces
{ create_class (0, $2, $3, $4); }
class_body
On 20 Nov 2008, at 09:05, Andreas Leppert wrote:
I've seen this which stands for a Java Class Declaration:
class_declaration:
modifiers CLASS_TK identifier super interfaces
{ create_class ($1, $3, $4, $5); }
class_body
{;}
| CLASS_TK identifier super interfaces
{ create_
On Thu, 20 Nov 2008, Andreas Leppert wrote:
Hello,
I've seen this which stands for a Java Class Declaration:
class_declaration:
modifiers CLASS_TK identifier super interfaces
{ create_class ($1, $3, $4, $5); }
class_body
{;}
| CLASS_TK identifier super interfaces
{ crea
>> Furthermore, I would have expected something like this:
>>
>> modifiers CLASS_TK identifier super interfaces class_body
>> { create_class ($1, $3, $4, $5, $6); }
>>
>> I mean the body of a class should be attached to the class declaration,
>> shouldn't it?
>
> We need to consider the rest o