172 |
} |
} |
173 |
$after .= ' '; |
$after .= ' '; |
174 |
} |
} |
175 |
qq|<td class="a">$before $_</td><td>$after</td>| |
my $type = $attr->has_type_constraint ? $attr->type_constraint->name : ''; |
176 |
|
qq|<td class="a">$before $_</td><td class="t">$type</td><td>$after</td>| |
177 |
} sort $meta->get_attribute_list |
} sort $meta->get_attribute_list |
178 |
} |
} |
179 |
|
|
180 |
my $table = qq|<table class="frey-object-browser"><tr><th class="m">Methods</th><th class="a">Attributes</th><th class="p">Properties</th></tr>|; |
my $table = qq|<table class="frey-object-browser"><tr><th class="m">Methods</th><th class="a">Attributes</th><th>Type</th><th class="p">Properties</th></tr>|; |
181 |
while ( @methods || @attributes ) { |
while ( @methods || @attributes ) { |
182 |
my ($m,$a) = ( shift @methods, shift @attributes ); |
my ($m,$a) = ( shift @methods, shift @attributes ); |
183 |
$m ||= '<td></td>'; |
$m ||= '<td></td>'; |