2021-06-07 18:17:10 -04:00
|
|
|
==================================
|
|
|
|
Empty foreach loop [foreach_empty]
|
|
|
|
==================================
|
2021-06-06 14:38:18 -04:00
|
|
|
|
|
|
|
foreach(var)
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
2021-06-07 18:07:49 -04:00
|
|
|
(foreach_loop
|
|
|
|
(foreach_command
|
2021-06-14 15:06:24 -04:00
|
|
|
(foreach)
|
2021-06-14 16:07:04 -04:00
|
|
|
(argument (unquoted_argument))
|
2021-06-07 18:07:49 -04:00
|
|
|
)
|
2021-06-14 15:06:24 -04:00
|
|
|
(endforeach_command (endforeach))
|
2021-06-06 14:38:18 -04:00
|
|
|
)
|
2021-06-07 17:02:35 -04:00
|
|
|
)
|
2021-06-06 14:38:18 -04:00
|
|
|
|
2021-06-07 18:17:10 -04:00
|
|
|
===============================================================
|
|
|
|
Empty foreach loop with one argument endforeach [foreach_empty]
|
|
|
|
===============================================================
|
2021-06-06 14:38:18 -04:00
|
|
|
|
|
|
|
foreach(var)
|
|
|
|
endforeach(var)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
2021-06-07 18:07:49 -04:00
|
|
|
(foreach_loop
|
|
|
|
(foreach_command
|
2021-06-14 15:06:24 -04:00
|
|
|
(foreach)
|
2021-06-14 16:07:04 -04:00
|
|
|
(argument (unquoted_argument))
|
2021-06-07 18:07:49 -04:00
|
|
|
)
|
|
|
|
(endforeach_command
|
2021-06-14 15:06:24 -04:00
|
|
|
(endforeach)
|
|
|
|
(argument (unquoted_argument))
|
2021-06-07 18:07:49 -04:00
|
|
|
)
|
2021-06-07 18:17:10 -04:00
|
|
|
))
|
2021-06-07 17:02:35 -04:00
|
|
|
|
2021-06-07 18:17:10 -04:00
|
|
|
=================================
|
|
|
|
Uppercase foreach [foreach_empty]
|
|
|
|
=================================
|
2021-06-07 17:02:35 -04:00
|
|
|
|
|
|
|
FOREACH(var)
|
|
|
|
ENDFOREACH()
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
2021-06-07 18:07:49 -04:00
|
|
|
(foreach_loop
|
|
|
|
(foreach_command
|
2021-06-14 15:06:24 -04:00
|
|
|
(foreach)
|
2021-06-14 16:07:04 -04:00
|
|
|
(argument (unquoted_argument))
|
2021-06-07 18:07:49 -04:00
|
|
|
)
|
2021-06-14 15:06:24 -04:00
|
|
|
(endforeach_command (endforeach))
|
2021-06-07 17:02:35 -04:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2021-06-07 18:17:10 -04:00
|
|
|
==================================
|
|
|
|
Mixed case foreach [foreach_empty]
|
|
|
|
==================================
|
2021-06-07 17:02:35 -04:00
|
|
|
|
|
|
|
forEach(var)
|
|
|
|
endForEach()
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
2021-06-07 18:07:49 -04:00
|
|
|
(foreach_loop
|
|
|
|
(foreach_command
|
2021-06-14 15:06:24 -04:00
|
|
|
(foreach)
|
2021-06-14 16:07:04 -04:00
|
|
|
(argument (unquoted_argument))
|
2021-06-07 18:07:49 -04:00
|
|
|
)
|
2021-06-14 15:06:24 -04:00
|
|
|
(endforeach_command (endforeach))
|
2021-06-06 14:38:18 -04:00
|
|
|
)
|
2021-06-07 17:02:35 -04:00
|
|
|
)
|