(expr)
| 1153 | return { simpleLabels: [head, ...tail.map(t => t[3])] }; |
| 1154 | } |
| 1155 | function peg$f99(expr) { |
| 1156 | // Single label or advanced expression |
| 1157 | if (expr.type === 'LabelName') { |
| 1158 | return { simpleLabels: [expr.name] }; |
| 1159 | } |
| 1160 | return { simpleLabels: [], labelExpression: expr }; |
| 1161 | } |
| 1162 | function peg$f100(head, tail) { |
| 1163 | return tail.reduce((left, [_1, _2, _3, right]) => ({ |
| 1164 | type: 'LabelOr', |
no outgoing calls
no test coverage detected