(stream,state)
| 71 | } |
| 72 | function tokenCommentToEOF(stream){return stream.skipToEnd(),"comment";} |
| 73 | function tokenString(stream,state){ |
| 74 | var escaped=false,next,end=false; |
| 75 | while((next=stream.next())){ |
| 76 | if(next=="\""&&!escaped){end=true;break;} |
| 77 | escaped=!escaped&&next=="\\"; |
| 78 | } |
| 79 | if(end)state.tokenize=tokenBase; |
| 80 | return"string"; |
| 81 | } |
| 82 | function pushContext(state,type,col){state.context={prev:state.context,indent:state.indent,col:col,type:type};} |
| 83 | function popContext(state){state.indent=state.context.indent;state.context=state.context.prev;} |
| 84 | return{ |
nothing calls this directly
no outgoing calls
no test coverage detected