node list prints combine valuse for node

This commit is contained in:
Christian Goll
2022-03-11 12:27:36 +01:00
parent ccf5a349be
commit f279863d7f
2 changed files with 9 additions and 2 deletions

View File

@@ -157,6 +157,13 @@ func (ent *Entry) Print() string {
return "--"
}
func (ent *Entry) PrintComb() string {
if ent.value != "" && ent.def != "" {
return "[" + ent.value + "," + ent.def + "]"
}
return ent.PrintComb()
}
func (ent *Entry) PrintB() bool {
return ent.GetB()
}