Files
bdcontract-web-ide/js/codemirror/mode/clike/.index.html.swp

21 lines
16 KiB
Plaintext
Raw Normal View History

b0VIM 7.4<00><>qY<71><59>C@_macCHQdeAir.lan/Volumes/Workspace/third/codemirror-5.28.0/mode/clike/index.htmlutf-8 3210#"! U
<00>
<00>
<00>
<00>
<00>
<00>
F
*



<00> <00> x ^  <00><00>l<00>t3<00><00><00><00><00><00>~eYWV<00><00><00><00><00>`$
<00><00><00><00><00><00><00><00><00><00>thURQ(<00><00><00><00><00><00><00><00><00><00><00>aCB9<00><00><00><00><00><00><00><00>mRQ value->Method3(member_); std::out << 1 >> method();void Class::Method2(MyType<T, V>* value) {template <class T, class V>} void Method2(MyType<T, V>* value); } return member_; const MyType<T, V>& Method() const { public: const MyType<T, V> member_;class Class : public BaseClass {template <class T, class V>class ForwardDec;} // namespace} return 0;int Helper(const MyType& param) {want)delim";youstring raw_string = R"delim(anythingchar32_t unicode_string = U"\U0010FFFF";}; VAL1, VAL2, VAL3enum Enum {namespace {#include "mystuff/util.h"#include <iostream><div><textarea id="cpp-code"><h2>C++ example</h2></textarea></div>} return context; pthread_detach(thread); pthread_create(&amp;thread, 0, &amp;zmq_thread, context); sem_init(&amp;context->sem, 1, 0); context->signal_fd = signal_fd; context->context = zmq_context; pthread_t thread; acl_zmq_context* context = malloc(sizeof(acl_zmq_context));void* zmq_thread_init(void* zmq_context, int signal_fd) {} return 0; free(context_pointer); close(context->signal_fd); cleanup: } write(context->signal_fd, &amp;ok, 1); p(command) = errno; } case 9: p(int) = zmq_poll(p(socket), p(int), p(len)); break; case 8: p(int) = zmq_recv(p(socket), p(msg), p(int)); break; case 7: p(int) = zmq_send(p(socket), p(msg), p(int)); break; case 6: p(int) = zmq_setsockopt(p(socket), p(int), (void*)p(string), p(len)); break; case 5: p(int) = zmq_getsockopt(p(socket), p(int), (void*)p(string), &amp;p(len)); break; case 4: p(int) = zmq_connect(p(socket), p(string)); break; case 3: p(int) = zmq_bind(p(socket), p(string)); break; case 2: p(int) = zmq_close(p(socket)); break; case 1: p(socket) = zmq_socket(context->context, p(int)); break; case 0: goto cleanup; switch(p(command)) { if (res) {write(context->signal_fd, &amp;err, 1); goto cleanup;} while ((res = sem_wait(&amp;context->sem)) == EINTR); while (1) { int res; char ok = 'K', err = 'X'; acl_zmq_context* context = (acl_zmq_context*)context_pointer;void* zmq_thread(void* context_pointer) {#define p(X) (context->arg_##X)} acl_zmq_context; sem_t sem; void* context; int pad; int signal_fd; int arg_int, arg_command; unsigned long arg_len; char* arg_string; zmq_msg_t* arg_msg; void* arg_socket;typedef struct {#include <malloc.h>#include <fcntl.h>#include <stdio.h>#include <time.h>#include <semaphore.h>#include <pthread.h>#include <zmq.h>/* C demo code */<div><textarea id="c-code"><h2>C-like mode</h2><article></div> </ul> <li><a class=active href="#">C-like</a> <li><a href="../index.html">Language modes</a> <ul> </ul> <li><a href="https://github.com/codemirror/codemirror">Code</a> <li><a href="../../doc/manual.html">Manual</a> <li><a href="../../index.html">Home</a> <ul> <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a><div id=nav><style>.CodeMirror {border: 2px inset #dee;}</style><script src="clike.js"></script><script src="../../addon/hint/show-hint.js"></script><link rel="stylesheet" href="../../addon/hint/show-hint.css"><script src="../../addon/edit/matchbrackets.js"></script><script src="../../lib/codemirror.js"></script><link rel="stylesheet" href="../../lib/codemirror.css"><link rel=stylesheet href="../../doc/docs.css"><meta charset="utf-8"/><title>CodeMirror: C-like mode</title><!doctype html>adj<00>Q<00><00>xH*<00><00><00>l+<00> <00> <00> X 5 # <00> <00> <00> <00> <00> <00> <00> <00> D ) <00> <00> <00> v Y ; 1 <00>
<00>
<00>
<00>
|

<00> <00> <00> <00> \ A $  <00><00><00>fF<<00><00><00><00>{0<00><00><00><00>><00><00><00><00>N
<00><00>i1<00><00><00></article> <code>text/x-ceylon</code> (Ceylon)</p> <code>text/x-squirrel</code> (Squirrel) and <code>x-shader/x-fragment</code> (shader programs), <code>text/x-scala</code> (Scala), <code>text/x-vertex</code> <code>text/x-objectivec</code> (Objective-C), (Java), <code>text/x-csharp</code> (C#), (C), <code>text/x-c++src</code> (C++), <code>text/x-java</code> <p><strong>MIME types defined:</strong> <code>text/x-csrc</code> directives are recognized.</p> and <code>useCPP</code>, which determines whether C preprocessor object whose property names are the keywords in the language, can. Takes two configuration parameters: <code>keywords</code>, an <p>Simple mode that tries to handle C-like languages as well as it </script> CodeMirror.keyMap.default[(mac ? "Cmd" : "Ctrl") + "-Space"] = "autocomplete"; var mac = CodeMirror.keyMap.default == CodeMirror.keyMap.macDefault; }); mode: "text/x-ceylon" matchBrackets: true, lineNumbers: true, var ceylonEditor = CodeMirror.fromTextArea(document.getElementById("ceylon-code"), { }); mode: "text/x-kotlin" matchBrackets: true, lineNumbers: true, var kotlinEditor = CodeMirror.fromTextArea(document.getElementById("kotlin-code"), { }); mode: "text/x-scala" matchBrackets: true, lineNumbers: true, var scalaEditor = CodeMirror.fromTextArea(document.getElementById("scala-code"), { }); mode: "text/x-objectivec" matchBrackets: true, lineNumbers: true, var objectivecEditor = CodeMirror.fromTextArea(document.getElementById("objectivec-code"), { }); mode: "text/x-java" matchBrackets: true, lineNumbers: true, var javaEditor = CodeMirror.fromTextArea(document.getElementById("java-code"), { }); mode: "text/x-c++src" matchBrackets: true, lineNumbers: true, var cppEditor = CodeMirror.fromTextArea(document.getElementById("cpp-code"), { }); mode: "text/x-csrc" matchBrackets: true, lineNumbers: true, var cEditor = CodeMirror.fromTextArea(document.getElementById("c-code"), { <script></textarea></div> }; }; } } return finished; else { } return result; current = nextElement(result); if (!is Finished result = current) { shared actual Element|Finished next() { variable Element|Finished current = start; =&gt; object satisfies Iterator&lt;Element&gt; { iterator() =&gt; next(element); function nextElement(Element element) empty =&gt; false; first =&gt; start; object satisfies {Element+} { =&gt; let (start = first) Element|Finished next(Element element)) stream." return [[finished]] to indicate the end of the stream, given the current element. The function may