(stream,state)
| 63 | return stream.skipToEnd(),/\/\s*$/.test(stream.current())?(state.tokenize=tokenBlockComment)(stream,state):(state.tokenize=tokenBase),"comment"; |
| 64 | } |
| 65 | function tokenBlockComment(stream,state){ |
| 66 | var f=stream.sol()&&stream.peek()=="\\"; |
| 67 | stream.skipToEnd(); |
| 68 | if(f&&/^\\\s*$/.test(stream.current())) |
| 69 | state.tokenize=tokenBase; |
| 70 | return"comment"; |
| 71 | } |
| 72 | function tokenCommentToEOF(stream){return stream.skipToEnd(),"comment";} |
| 73 | function tokenString(stream,state){ |
| 74 | var escaped=false,next,end=false; |
nothing calls this directly
no outgoing calls
no test coverage detected