the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+5
@@ -0,0 +1,5 @@
|
||||
const lang = Object.freeze(JSON.parse("{\"displayName\":\"WebAssembly Interface Types\",\"foldingStartMarker\":\"([\\\\[{])\\\\s*\",\"foldingStopMarker\":\"\\\\s*([]}])\",\"name\":\"wit\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#package\"},{\"include\":\"#toplevel-use\"},{\"include\":\"#world\"},{\"include\":\"#interface\"},{\"include\":\"#whitespace\"}],\"repository\":{\"block-comments\":{\"patterns\":[{\"match\":\"/\\\\*\\\\*/\",\"name\":\"comment.block.empty.wit\"},{\"applyEndPatternLast\":1,\"begin\":\"/\\\\*\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.documentation.wit\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#markdown\"},{\"include\":\"#whitespace\"}]},{\"applyEndPatternLast\":1,\"begin\":\"/\\\\*(?!\\\\*)\",\"end\":\"\\\\*/\",\"name\":\"comment.block.wit\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#whitespace\"}]}]},\"boolean\":{\"match\":\"\\\\b(bool)\\\\b\",\"name\":\"entity.name.type.boolean.wit\"},\"comment\":{\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#doc-comment\"},{\"include\":\"#line-comment\"}]},\"container\":{\"name\":\"meta.container.ty.wit\",\"patterns\":[{\"include\":\"#tuple\"},{\"include\":\"#list\"},{\"include\":\"#option\"},{\"include\":\"#result\"},{\"include\":\"#handle\"}]},\"doc-comment\":{\"begin\":\"^\\\\s*///\",\"end\":\"$\",\"name\":\"comment.line.documentation.wit\",\"patterns\":[{\"include\":\"#markdown\"}]},\"enum\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\b(enum)\\\\b\\\\s+%?((?<![-\\\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)((-)([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.enum.enum-items.wit\"},\"2\":{\"name\":\"entity.name.type.id.enum-items.wit\"},\"7\":{\"name\":\"punctuation.brackets.curly.begin.wit\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.brackets.curly.end.wit\"}},\"name\":\"meta.enum-items.wit\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#enum-cases\"},{\"include\":\"#whitespace\"}]},\"enum-cases\":{\"name\":\"meta.enum-cases.wit\",\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\b%?((?<![-\\\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)((-)([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\\\b\",\"name\":\"variable.other.enummember.id.enum-cases.wit\"},{\"match\":\"(,)\",\"name\":\"punctuation.comma.wit\"},{\"include\":\"#whitespace\"}]},\"extern\":{\"name\":\"meta.extern-type.wit\",\"patterns\":[{\"name\":\"meta.interface-type.wit\",\"patterns\":[{\"applyEndPatternLast\":1,\"begin\":\"\\\\b(interface)\\\\b\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.interface.interface-type.wit\"},\"2\":{\"name\":\"ppunctuation.brackets.curly.begin.wit\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.brackets.curly.end.wit\"}},\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#interface-items\"},{\"include\":\"#whitespace\"}]}]},{\"include\":\"#function-definition\"},{\"include\":\"#use-path\"}]},\"flags\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\b(flags)\\\\s+%?((?<![-\\\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)((-)([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.flags.flags-items.wit\"},\"2\":{\"name\":\"entity.name.type.id.flags-items.wit\"},\"7\":{\"name\":\"punctuation.brackets.curly.begin.wit\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.brackets.curly.end.wit\"}},\"name\":\"meta.flags-items.wit\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#flags-fields\"},{\"include\":\"#whitespace\"}]},\"flags-fields\":{\"name\":\"meta.flags-fields.wit\",\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\b%?((?<![-\\\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)((-)([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\\\b\",\"name\":\"variable.other.enummember.id.flags-fields.wit\"},{\"match\":\"(,)\",\"name\":\"punctuation.comma.wit\"},{\"include\":\"#whitespace\"}]},\"function\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\b%?((?<![-\\\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)((-)([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.id.func-item.wit\"},\"2\":{\"name\":\"meta.word.wit\"},\"4\":{\"name\":\"meta.word-separator.wit\"},\"5\":{\"name\":\"meta.word.wit\"},\"6\":{\"name\":\"keyword.operator.key-value.wit\"}},\"end\":\"((?<=\\\\n)|(?=}))\",\"name\":\"meta.func-item.wit\",\"patterns\":[{\"include\":\"#function-definition\"},{\"include\":\"#whitespace\"}]},\"function-definition\":{\"name\":\"meta.func-type.wit\",\"patterns\":[{\"applyEndPatternLast\":1,\"begin\":\"\\\\b(static\\\\s+)?(func)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.static.func-item.wit\"},\"2\":{\"name\":\"keyword.other.func.func-type.wit\"}},\"end\":\"((?<=\\\\n)|(?=}))\",\"name\":\"meta.function.wit\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#parameter-list\"},{\"include\":\"#result-list\"},{\"include\":\"#whitespace\"}]}]},\"handle\":{\"captures\":{\"1\":{\"name\":\"enLine truncated
|
||||
|
||||
export default [
|
||||
lang
|
||||
]
|
||||
Reference in new issue
Block a user