Attempt to tidy generated documentation.

This commit is contained in:
John Beisley committed 2013-12-31 17:52:43 +00:00
1 parent 38405bcf8d
commit 92b4aac9bb
5 files changed
+467 -4091

No files matched your search

+22
View File
@@ -66,6 +66,28 @@ func (action *Action) clean() {
}
}
func (action *Action) InputArguments() []*Argument {
var result []*Argument
for i := range action.Arguments {
arg := &action.Arguments[i]
if arg.IsInput() {
result = append(result, arg)
}
}
return result
}
func (action *Action) OutputArguments() []*Argument {
var result []*Argument
for i := range action.Arguments {
arg := &action.Arguments[i]
if arg.IsOutput() {
result = append(result, arg)
}
}
return result
}
type Argument struct {
Name string `xml:"name"`
Direction string `xml:"direction"` // in|out