Lines Matching refs:list
60 if list, ok := e.(*parser.List); ok {
61 newList := make([]parser.Expression, 0, len(list.Values))
62 for _, item := range list.Values {
71 list.Values = newList
78 func getLiteralListProperty(mod *parser.Module, name string) (list *parser.List, found bool) {
83 list, ok = prop.Value.(*parser.List)
84 return list, ok
87 var list, ok = getLiteralListProperty(mod, libType)
89 list = new(parser.List)
92 prop.Value = list
95 for _, v := range list.Values {
103 list.Values = append(list.Values, lib)