};
struct CYTypedIdentifier :
- CYNext<CYTypedIdentifier>
+ CYNext<CYTypedIdentifier>,
+ CYThing
{
CYIdentifier *identifier_;
CYTypeModifier *type_;
type_(NULL)
{
}
+
+ virtual void Output(CYOutput &out) const;
};
struct CYTypedParameter :
virtual void Output(CYOutput &out, CYFlags flags) const;
};
+struct CYTypeDefinition :
+ CYStatement
+{
+ CYTypedIdentifier *typed_;
+
+ CYTypeDefinition(CYTypedIdentifier *typed) :
+ typed_(typed)
+ {
+ }
+
+ virtual CYStatement *Replace(CYContext &context);
+ virtual void Output(CYOutput &out, CYFlags flags) const;
+};
+
namespace cy {
namespace Syntax {