class_method ::=
{ method_qualifier } task_declaration
| { method_qualifier
} function_declaration
| extern { method_qualifier } method_prototype
;
| { method_qualifier } class_constructor_declaration
| extern {
method_qualifier } class_constructor_prototype
method_prototype ::=
task named_task_proto ; task_prototype
| function named_function_proto ; function_prototype
The last paragraph has the
wrong size font. Please correct.
class C #(parameter type T = bit); ... endclass // base class
class D1 #(parameter type P = real) extends C; // T is
bit (the default)
class D2 #(parameter type P = real) extends C #(integer); // T is integer
class D3 #(parameter type P = real) extends C #(P); // T is P
11.25
Classes, and structures, and unions