(name string, typ int, nodes ...Node)
| 124 | } |
| 125 | |
| 126 | func NewStringArgument(name string, typ int, nodes ...Node) Node { |
| 127 | return Node{ |
| 128 | Node: play.Node{ |
| 129 | Flags: play.NodeArgument, |
| 130 | Name: name, |
| 131 | ParserId: String, |
| 132 | Properties: []any{typ}, |
| 133 | }, |
| 134 | children: nodes, |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | func NewTimeArgument(name string, min int32, nodes ...Node) Node { |
| 139 | return Node{ |
nothing calls this directly
no outgoing calls
no test coverage detected