Attempt to tidy generated documentation.

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

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