{ "fileTypes": [ "vb" ], "name": "VB.NET", "patterns": [ { "include": "#comment-single-quote" }, { "include": "#comment-rem" }, { "include": "#keyword-a" }, { "include": "#keyword-b" }, { "include": "#keyword-c" }, { "include": "#keyword-d" }, { "include": "#keyword-e" }, { "include": "#keyword-f" }, { "include": "#keyword-g" }, { "include": "#keyword-h" }, { "include": "#keyword-i" }, { "include": "#keyword-j" }, { "include": "#keyword-k" }, { "include": "#keyword-l" }, { "include": "#keyword-m" }, { "include": "#keyword-n" }, { "include": "#keyword-o" }, { "include": "#keyword-p" }, { "include": "#keyword-r" }, { "include": "#keyword-s" }, { "include": "#keyword-t" }, { "include": "#keyword-u" }, { "include": "#keyword-v" }, { "include": "#keyword-w" }, { "include": "#keyword-x" }, { "include": "#keyword-y" }, { "include": "#integer-literal" }, { "include": "#floating-point-literal" }, { "include": "#character-literal" }, { "include": "#string-literal" }, { "include": "#date-literal" }, { "include": "#symbol" }, { "include": "#identifier" } ], "repository": { "character-literal": { "comment": "char literals", "match": "(?i:[\"\\x{201C}\\x{201D}]([^\"\\x{201C}\\x{201D}]|[\"\\x{201C}\\x{201D}]{2})[\"\\x{201C}\\x{201D}]C)", "name": "string.quoted.double.vbnet" }, "comment-rem": { "comment": "comments REM", "match": "(?i)(?<=[^_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Cf}\\p{Pc}])REM((?=[\\r|\\n])| [^\\r\\n]*)", "name": "comment.line.singlequote.vbnet" }, "comment-single-quote": { "comment": "comments single-quote", "match": "['\\x{2018}\\x{2019}][^\\r\\n]*", "name": "comment.line.singlequote.vbnet" }, "date-literal": { "comment": "date literals", "match": "(#\\s*(((((\\d+/\\d+/\\d+)|(\\d+-\\d+-\\d+))\\s+(\\d+:\\d+(:\\d+)?\\s*(AM|PM)?)))|((\\d+/\\d+/\\d+)|(\\d+-\\d+-\\d+))|(\\d+:\\d+(:\\d+)?\\s*(AM|PM)?))\\s*#)", "name": "string.quoted.double.vbnet" }, "floating-point-literal": { "comment": "floating-point literals", "match": "(?i:[0-9]*(\\.[0-9]+)?((?<=[0-9])E[+-]?[0-9]+)?(?<=[0-9])[FRD@&#]?)", "name": "string.quoted.double.vbnet" }, "identifier": { "comment": "identifiers", "match": "(([\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}]|_[_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Cf}\\p{Pc}])[_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Cf}\\p{Pc}]*[%&@!#$]?|\\[([\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}]|_[_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Cf}\\p{Pc}])[_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Cf}\\p{Pc}]*\\])", "name": "variable.other.namespace-alias.vbnet" }, "integer-literal": { "comment": "integer literals", "match": "(?i)(&H[0-9A-F]+|&O[0-7]+|&B[0-1]+|[0-9]+)(S|I|L|US|UI|UL|%|!)?", "name": "string.quoted.double.vbnet" }, "keyword-a": { "comment": "keywords A", "match": "(?i)(?])|([(){}!#,.:]|((?<= )_(?=\\s$)))|\\?)", "name": "variable.other.namespace-alias.vbnet" } }, "scopeName": "source.vbnet", "uuid": "975d5447-0eb5-444c-a471-5934193ca1ea" }