(delim, context)
| 8798 | |
| 8799 | // Delimiter functions |
| 8800 | function checkDelimiter(delim, context) { |
| 8801 | var symDelim = checkSymbolNodeType(delim); |
| 8802 | |
| 8803 | if (symDelim && utils.contains(delimiters, symDelim.text)) { |
| 8804 | return symDelim; |
| 8805 | } else { |
| 8806 | throw new src_ParseError("Invalid delimiter: '" + (symDelim ? symDelim.text : JSON.stringify(delim)) + "' after '" + context.funcName + "'", delim); |
| 8807 | } |
| 8808 | } |
| 8809 | |
| 8810 | defineFunction({ |
| 8811 | type: "delimsizing", |
no test coverage detected