(type)
| 190 | return pass(); |
| 191 | } |
| 192 | function expression(type) { |
| 193 | if (type == "atom" || type == "name") return cont(maybeop); |
| 194 | if (type == "{") return cont(pushlex("}"), exprbrace, poplex); |
| 195 | if (type.match(/[\[\(]/)) return matchBrackets(type, expression); |
| 196 | if (type.match(/[\]\)\};,]/)) return pass(); |
| 197 | if (type == "if-style") return cont(expression, expression); |
| 198 | if (type == "else-style" || type == "op") return cont(expression); |
| 199 | if (type == "for") return cont(pattern, maybetype, inop, expression, expression); |
| 200 | if (type == "alt") return cont(expression, altbody); |
| 201 | if (type == "fn") return cont(fndef); |
| 202 | if (type == "macro") return cont(macro); |
| 203 | return cont(); |
| 204 | } |
| 205 | function maybeop(type) { |
| 206 | if (content == ".") return cont(maybeprop); |
| 207 | if (content == "::<"){return cont(typarams, maybeop);} |
nothing calls this directly
no test coverage detected