Sha256: b1e1358bba16b6ede4c81e38f129a14ac289687652e207aa75a19473852f5827
Contents?: true
Size: 1.95 KB
Versions: 15
Compression:
Stored size: 1.95 KB
Contents
{"name":"Whiley","scopeName":"source.whiley","patterns":[{"name":"comment.line.whiley","begin":"//[^/]*","end":"$\\n?"},{"name":"comment.block.whiley","begin":"/\\*","end":"\\*/"},{"name":"constant.language.whiley","match":"\\b(false|true|null)\\b"},{"name":"entity.name.function.whiley","match":"\\b(function|method|property|type|variant)\\b"},{"match":"^(import)\\s*([a-zA-Z0-9:]+)\\s*(with)\\s*([a-zA-Z_0-9]+)","captures":{"1":{"name":"entity.name.class.whiley"},"2":{"name":"variable.whiley"},"3":{"name":"entity.name.class.whiley"},"4":{"name":"variable.whiley"}}},{"match":"^(import)\\s*([a-zA-Z0-9_]+)\\s*(from)\\s*([a-zA-Z0-9:]+)","captures":{"1":{"name":"entity.name.class.whiley"},"2":{"name":"variable.whiley"},"3":{"name":"entity.name.class.whiley"},"4":{"name":"variable.whiley"}}},{"match":"^(import)\\s*([a-zA-Z0-9:]+)","captures":{"1":{"name":"entity.name.class.whiley"},"2":{"name":"variable.whiley"}}},{"name":"keyword.control.whiley","match":"\\b(assert|assume|break|case|continue|debug|default|do|else|ensures|fail|for|if|requires|return|skip|switch|where|while)\\b"},{"name":"keyword.operator.word.whiley","match":"\\b(all|in|is|new|no|old|some)\\b"},{"name":"keyword.other.whiley","match":"\\b(bool|byte|export|final|int|native|private|protected|public|unsafe|void)\\b"},{"name":"constant.numeric.whiley","match":"\\b(-)?[0-9.]+\\b"},{"name":"keyword.operator.logical.whiley","match":"(\u0026\u0026|\\|\\||!|==\u003e|\u003c==\u003e)"},{"name":"keyword.operator.arithmetic.whiley","match":"(\u003c=|\u003c|\u003e=|\u003e|==|!=|\\+|-|\\*|/)"},{"name":"entity.name.class.whiley","match":"^package\\b"},{"name":"punctuation.definition.string.whiley","begin":"\"","end":"\"","patterns":[{"include":"#escaped-char"}]},{"name":"variable.constant.whiley","match":"\\b[_A-Z][_A-Z0-9]+\\b"},{"name":"entity.name.type.whiley","match":"\\b[_a-zA-Z][_a-zA-Z0-9]*_t\\b"},{"name":"variable.whiley","match":"\\b[_a-zA-Z][_a-zA-Z0-9]*\\b"}],"repository":{"escaped-char":{"match":"\\\\."}}}
Version data entries
15 entries across 15 versions & 1 rubygems