File | multi-options.str |
Author | Martin Bravenboer <martin@cs.uu.nl> |
Since | unknown |
Support for implementing tools that have multiple inputs and outputs.
General | |
Lines of code | 95 |
Stratego | |
Module number | 1 (100% documented) |
Constructor number | 1 (0% documented) |
Overlay number | 0 |
Strategy number | 8 (25% documented) |
Rule number | 2 (0% documented) |
DynamicRule number | 0 |
Strategy summary |
||
abstract-multi-output(Strategy s, Strategy write-to-file, Strategy write-to-stream) | n/a | multi-options.str |
multi-input(Strategy s) | n/a | multi-options.str |
multi-input-option | n/a | multi-options.str |
multi-io(Strategy s) | n/a | multi-options.str |
multi-io-options | n/a | multi-options.str |
multi-io-wrap(Strategy s) | Wraps a strategy into a command-line tool that allows a list of inputs and outputs | multi-options.str |
multi-io-wrap(Strategy extra-opts, Strategy s) | n/a | multi-options.str |
multi-io-wrap(Strategy extra-opts, Strategy usage, Strategy about, Strategy s) | n/a | multi-options.str |
multi-output(Strategy s) | n/a | multi-options.str |
multi-output-option | n/a | multi-options.str |
MultiArgOption(Strategy is-flag, Strategy label, Strategy usage) | n/a | multi-options.str |
output-format-option | n/a | multi-options.str |
single-output-to-file | n/a | multi-options.str |
single-output-to-stream | n/a | multi-options.str |
Rule summary |
||
MultiArgOption(Strategy is-flag, Strategy handle-value, Strategy usage) | Handles a command-line option that allows multiple values | multi-options.str |
Strategy details |
|||||||||||||||||
ATerm | abstract-multi-output(Strategy s, Strategy write-to-file, Strategy write-to-stream) | ||||||||||||||||
No information available.
|
|||||||||||||||||
ATerm | multi-io-wrap(Strategy s) | ||||||||||||||||
Wraps a strategy into a command-line tool that allows a list ofinputs and outputs. |
|||||||||||||||||
Rule details |
|||||||||||||
ATerm | MultiArgOption(Strategy is-flag, Strategy handle-value, Strategy usage) | ||||||||||||
Handles a command-line option that allows multiple values. This strategy is similar to ArgOption, but allows multiplevalues. e.g. -i A.java B.java. The values are not allowed tostart with a -, since the - distinguishes values from option flags. Usage is identical to ArgOption. The handle-value will geta list of values.
|
|||||||||||||