Removed FuncOutput from the tree

This commit is contained in:
2022-09-17 12:12:04 -04:00
parent a492622e30
commit 49eb7f9b9d
4 changed files with 5 additions and 22 deletions

View File

@@ -438,13 +438,6 @@ func (block Block) ToString (indent int) (output string) {
return
}
func (funcOutput FuncOutput) ToString (indent int) (output string) {
output += doIndent (
indent + 1,
"< ", funcOutput.Declaration.ToString(indent), "\n")
return
}
func (section FuncSection) ToString (indent int) (output string) {
output += doIndent (
indent,
@@ -463,7 +456,7 @@ func (section FuncSection) ToString (indent int) (output string) {
}
for _, outputItem := range section.outputs {
output += outputItem.ToString(indent + 1)
output += doIndent(indent + 1, "< ", outputItem.ToString(indent), "\n")
}
output += doIndent(indent + 1, "---\n")