{ "fileTypes": [ "xq", "xql", "xqm", "xqy", "xquery" ], "firstLineMatch": "^\\bxquery version\\b.*", "keyEquivalent": "^~X", "name": "XQuery", "patterns": [ { "match": "^xquery version .*;$", "name": "keyword.control.import.xquery" }, { "match": "\\b(?i:(\\d+\\.\\d*(e[\\-\\+]?\\d+)?))(?=[^a-zA-Z_])", "name": "constant.numeric.float.xquery" }, { "match": "(?<=[^0-9a-zA-Z_])(?i:(\\.\\d+(e[\\-\\+]?\\d+)?))", "name": "constant.numeric.float.xquery" }, { "match": "\\b(?i:(\\d+e[\\-\\+]?\\d+))", "name": "constant.numeric.float.xquery" }, { "match": "\\b([1-9]+[0-9]*|0)", "name": "constant.numeric.integer.decimal.xquery" }, { "match": "\\b(import|module|schema)\\b", "name": "keyword.control.import.xquery" }, { "begin": "\\(:", "captures": { "0": { "name": "punctuation.definition.comment.xquery" } }, "end": ":\\)", "name": "comment.block.xquery" }, { "comment": "http://www.w3.org/TR/xpath-datamodel/#types", "match": "(?=?|eq|ne|lt|le|ge|gt|\\*|div|idiv|mod)(?![:\\-_a-zA-Z0-9])", "name": "keyword.operator.arithmetic.xquery" }, { "match": "(?