(type)
| 203 | return pass(); |
| 204 | } |
| 205 | function expression(type) { |
| 206 | if (type == "atom" || type == "name") return cont(maybeop); |
| 207 | if (type == "{") return cont(pushlex("}"), exprbrace, poplex); |
| 208 | if (type.match(/[\[\(]/)) return matchBrackets(type, expression); |
| 209 | if (type.match(/[\]\)\};,]/)) return pass(); |
| 210 | if (type == "if-style") return cont(expression, expression); |
| 211 | if (type == "else-style" || type == "op") return cont(expression); |
| 212 | if (type == "for") return cont(pattern, maybetype, inop, expression, expression); |
| 213 | if (type == "alt") return cont(expression, altbody); |
| 214 | if (type == "fn") return cont(fndef); |
| 215 | if (type == "macro") return cont(macro); |
| 216 | return cont(); |
| 217 | } |
| 218 | function maybeop(type) { |
| 219 | if (content == ".") return cont(maybeprop); |
| 220 | if (content == "::<"){return cont(typarams, maybeop);} |
nothing calls this directly
no test coverage detected
searching dependent graphs…