Check if this keyword can have multiple arguments.
(&self)
| 148 | |
| 149 | /// Check if this keyword can have multiple arguments. |
| 150 | pub fn is_multi_arg(&self) -> bool { |
| 151 | self.is_repeatable || |
| 152 | MULTI_ARG_KEYWORDS_COMMA_SEP.contains(&self.name.as_str()) || |
| 153 | MULTI_ARG_KEYWORDS_SPACE_SEP.contains(&self.name.as_str()) |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | /// Extract and validate a single keyword from `additional_properties`. |
no test coverage detected