Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reformat code.

  • Loading branch information...
commit 4e25c3426da952ca1acdef1561b721c0099157c9 1 parent fde449b
@colomon authored
Showing with 4 additions and 8 deletions.
  1. +4 −8 lib/ISO_10303_21/Actions.pm
View
12 lib/ISO_10303_21/Actions.pm
@@ -8,14 +8,10 @@ sub merge-arrays(@arrays) {
class ISO_10303_21::Actions {
method entity_instance_name($/) { make [~$/] }
- method parameter($/) {
- make $/.values[0].ast;
- }
+ method parameter($/) { make $/.values[0].ast }
method omitted_parameter($/) { make [] }
- method untyped_parameter($/) {
- make $/.values[0].ast // [];
- }
+ method untyped_parameter($/) { make $/.values[0].ast // [] }
method typed_parameter($/) { make $<parameter>.ast }
- method list_of_parameters($/) { make merge-arrays(@($<parameter>)».ast); }
- method parameter_list($/) { make merge-arrays(@($<parameter>)».ast); }
+ method list_of_parameters($/) { make merge-arrays(@($<parameter>)».ast) }
+ method parameter_list($/) { make merge-arrays(@($<parameter>)».ast) }
}
Please sign in to comment.
Something went wrong with that request. Please try again.