| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
| 3 | <plist version="1.0"> |
| 4 | <dict> |
| 5 | <key>comment</key> |
| 6 | <string>Modified from the original ASP bundle. Originally modified by Thomas Aylott subtleGradient.com</string> |
| 7 | <key>fileTypes</key> |
| 8 | <array> |
| 9 | <string>vb</string> |
| 10 | </array> |
| 11 | <key>keyEquivalent</key> |
| 12 | <string>^~A</string> |
| 13 | <key>name</key> |
| 14 | <string>ASP vb.NET</string> |
| 15 | <key>patterns</key> |
| 16 | <array> |
| 17 | <dict> |
| 18 | <key>match</key> |
| 19 | <string>\n</string> |
| 20 | <key>name</key> |
| 21 | <string>meta.ending-space</string> |
| 22 | </dict> |
| 23 | <dict> |
| 24 | <key>include</key> |
| 25 | <string>#round-brackets</string> |
| 26 | </dict> |
| 27 | <dict> |
| 28 | <key>begin</key> |
| 29 | <string>^(?=\t)</string> |
| 30 | <key>end</key> |
| 31 | <string>(?=[^\t])</string> |
| 32 | <key>name</key> |
| 33 | <string>meta.leading-space</string> |
| 34 | <key>patterns</key> |
| 35 | <array> |
| 36 | <dict> |
| 37 | <key>captures</key> |
| 38 | <dict> |
| 39 | <key>1</key> |
| 40 | <dict> |
| 41 | <key>name</key> |
| 42 | <string>meta.odd-tab.tabs</string> |
| 43 | </dict> |
| 44 | <key>2</key> |
| 45 | <dict> |
| 46 | <key>name</key> |
| 47 | <string>meta.even-tab.tabs</string> |
| 48 | </dict> |
| 49 | </dict> |
| 50 | <key>match</key> |
| 51 | <string>(\t)(\t)?</string> |
| 52 | </dict> |
| 53 | </array> |
| 54 | </dict> |
| 55 | <dict> |
| 56 | <key>begin</key> |
| 57 | <string>^(?= )</string> |
| 58 | <key>end</key> |
| 59 | <string>(?=[^ ])</string> |
| 60 | <key>name</key> |
| 61 | <string>meta.leading-space</string> |
| 62 | <key>patterns</key> |
| 63 | <array> |
| 64 | <dict> |
| 65 | <key>captures</key> |
| 66 | <dict> |
| 67 | <key>1</key> |
| 68 | <dict> |
| 69 | <key>name</key> |
| 70 | <string>meta.odd-tab.spaces</string> |
| 71 | </dict> |
| 72 | <key>2</key> |
| 73 | <dict> |
| 74 | <key>name</key> |
| 75 | <string>meta.even-tab.spaces</string> |
| 76 | </dict> |
| 77 | </dict> |
| 78 | <key>match</key> |
| 79 | <string>( )( )?</string> |
| 80 | </dict> |
| 81 | </array> |
| 82 | </dict> |
| 83 | <dict> |
| 84 | <key>captures</key> |
| 85 | <dict> |
| 86 | <key>1</key> |
| 87 | <dict> |
| 88 | <key>name</key> |
| 89 | <string>storage.type.function.asp</string> |
| 90 | </dict> |
| 91 | <key>2</key> |
| 92 | <dict> |
| 93 | <key>name</key> |
| 94 | <string>entity.name.function.asp</string> |
| 95 | </dict> |
| 96 | <key>3</key> |
| 97 | <dict> |
| 98 | <key>name</key> |
| 99 | <string>punctuation.definition.parameters.asp</string> |
| 100 | </dict> |
| 101 | <key>4</key> |
| 102 | <dict> |
| 103 | <key>name</key> |
| 104 | <string>variable.parameter.function.asp</string> |
| 105 | </dict> |
| 106 | <key>5</key> |
| 107 | <dict> |
| 108 | <key>name</key> |
| 109 | <string>punctuation.definition.parameters.asp</string> |
| 110 | </dict> |
| 111 | </dict> |
| 112 | <key>match</key> |
| 113 | <string>^\s*((?i:function|sub))\s*([a-zA-Z_]\w*)\s*(\()([^)]*)(\)).*\n?</string> |
| 114 | <key>name</key> |
| 115 | <string>meta.function.asp</string> |
| 116 | </dict> |
| 117 | <dict> |
| 118 | <key>begin</key> |
| 119 | <string>(^[ \t]+)?(?=')</string> |
| 120 | <key>beginCaptures</key> |
| 121 | <dict> |
| 122 | <key>1</key> |
| 123 | <dict> |
| 124 | <key>name</key> |
| 125 | <string>punctuation.whitespace.comment.leading.asp</string> |
| 126 | </dict> |
| 127 | </dict> |
| 128 | <key>end</key> |
| 129 | <string>(?!\G)</string> |
| 130 | <key>patterns</key> |
| 131 | <array> |
| 132 | <dict> |
| 133 | <key>begin</key> |
| 134 | <string>'</string> |
| 135 | <key>beginCaptures</key> |
| 136 | <dict> |
| 137 | <key>0</key> |
| 138 | <dict> |
| 139 | <key>name</key> |
| 140 | <string>punctuation.definition.comment.asp</string> |
| 141 | </dict> |
| 142 | </dict> |
| 143 | <key>end</key> |
| 144 | <string>\n</string> |
| 145 | <key>name</key> |
| 146 | <string>comment.line.apostrophe.asp</string> |
| 147 | </dict> |
| 148 | </array> |
| 149 | </dict> |
| 150 | <dict> |
| 151 | <key>match</key> |
| 152 | <string>(?i:\b(If|Then|Else|ElseIf|Else If|End If|While|Wend|For|To|Each|Case|Select|End Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit Property|Exit Sub|IIf)\b)</string> |
| 153 | <key>name</key> |
| 154 | <string>keyword.control.asp</string> |
| 155 | </dict> |
| 156 | <dict> |
| 157 | <key>match</key> |
| 158 | <string>(?i:\b(Mod|And|Not|Or|Xor|as)\b)</string> |
| 159 | <key>name</key> |
| 160 | <string>keyword.operator.asp</string> |
| 161 | </dict> |
| 162 | <dict> |
| 163 | <key>captures</key> |
| 164 | <dict> |
| 165 | <key>1</key> |
| 166 | <dict> |
| 167 | <key>name</key> |
| 168 | <string>storage.type.asp</string> |
| 169 | </dict> |
| 170 | <key>2</key> |
| 171 | <dict> |
| 172 | <key>name</key> |
| 173 | <string>variable.other.bfeac.asp</string> |
| 174 | </dict> |
| 175 | <key>3</key> |
| 176 | <dict> |
| 177 | <key>name</key> |
| 178 | <string>meta.separator.comma.asp</string> |
| 179 | </dict> |
| 180 | </dict> |
| 181 | <key>match</key> |
| 182 | <string>(?i:(dim)\s*(?:(\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b)\s*(,?)))</string> |
| 183 | <key>name</key> |
| 184 | <string>variable.other.dim.asp</string> |
| 185 | </dict> |
| 186 | <dict> |
| 187 | <key>match</key> |
| 188 | <string>(?i:\s*\b(Call|Class|Const|Dim|Redim|Function|Sub|Private Sub|Public Sub|End sub|End Function|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On Error GoTo)\b\s*)</string> |
| 189 | <key>name</key> |
| 190 | <string>storage.type.asp</string> |
| 191 | </dict> |
| 192 | <dict> |
| 193 | <key>match</key> |
| 194 | <string>(?i:\b(Private|Public|Default)\b)</string> |
| 195 | <key>name</key> |
| 196 | <string>storage.modifier.asp</string> |
| 197 | </dict> |
| 198 | <dict> |
| 199 | <key>match</key> |
| 200 | <string>(?i:\s*\b(Empty|False|Nothing|Null|True)\b)</string> |
| 201 | <key>name</key> |
| 202 | <string>constant.language.asp</string> |
| 203 | </dict> |
| 204 | <dict> |
| 205 | <key>begin</key> |
| 206 | <string>"</string> |
| 207 | <key>beginCaptures</key> |
| 208 | <dict> |
| 209 | <key>0</key> |
| 210 | <dict> |
| 211 | <key>name</key> |
| 212 | <string>punctuation.definition.string.begin.asp</string> |
| 213 | </dict> |
| 214 | </dict> |
| 215 | <key>end</key> |
| 216 | <string>"</string> |
| 217 | <key>endCaptures</key> |
| 218 | <dict> |
| 219 | <key>0</key> |
| 220 | <dict> |
| 221 | <key>name</key> |
| 222 | <string>punctuation.definition.string.end.asp</string> |
| 223 | </dict> |
| 224 | </dict> |
| 225 | <key>name</key> |
| 226 | <string>string.quoted.double.asp</string> |
| 227 | <key>patterns</key> |
| 228 | <array> |
| 229 | <dict> |
| 230 | <key>match</key> |
| 231 | <string>""</string> |
| 232 | <key>name</key> |
| 233 | <string>constant.character.escape.apostrophe.asp</string> |
| 234 | </dict> |
| 235 | </array> |
| 236 | </dict> |
| 237 | <dict> |
| 238 | <key>captures</key> |
| 239 | <dict> |
| 240 | <key>1</key> |
| 241 | <dict> |
| 242 | <key>name</key> |
| 243 | <string>punctuation.definition.variable.asp</string> |
| 244 | </dict> |
| 245 | </dict> |
| 246 | <key>match</key> |
| 247 | <string>(\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b\s*</string> |
| 248 | <key>name</key> |
| 249 | <string>variable.other.asp</string> |
| 250 | </dict> |
| 251 | <dict> |
| 252 | <key>match</key> |
| 253 | <string>(?i:\b(Application|ObjectContext|Request|Response|Server|Session)\b)</string> |
| 254 | <key>name</key> |
| 255 | <string>support.class.asp</string> |
| 256 | </dict> |
| 257 | <dict> |
| 258 | <key>match</key> |
| 259 | <string>(?i:\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\b)</string> |
| 260 | <key>name</key> |
| 261 | <string>support.class.collection.asp</string> |
| 262 | </dict> |
| 263 | <dict> |
| 264 | <key>match</key> |
| 265 | <string>(?i:\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\b)</string> |
| 266 | <key>name</key> |
| 267 | <string>support.constant.asp</string> |
| 268 | </dict> |
| 269 | <dict> |
| 270 | <key>match</key> |
| 271 | <string>(?i:\b(Lock|Unlock|SetAbort|SetComplete|BinaryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon|Convert|Regex)\b)</string> |
| 272 | <key>name</key> |
| 273 | <string>support.function.asp</string> |
| 274 | </dict> |
| 275 | <dict> |
| 276 | <key>match</key> |
| 277 | <string>(?i:\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart)\b)</string> |
| 278 | <key>name</key> |
| 279 | <string>support.function.event.asp</string> |
| 280 | </dict> |
| 281 | <dict> |
| 282 | <key>match</key> |
| 283 | <string>(?i:(?<=as )(\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b))</string> |
| 284 | <key>name</key> |
| 285 | <string>support.type.vb.asp</string> |
| 286 | </dict> |
| 287 | <dict> |
| 288 | <key>match</key> |
| 289 | <string>(?i:\b(Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Item|Items|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Time|Timer|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year)\b)</string> |
| 290 | <key>name</key> |
| 291 | <string>support.function.vb.asp</string> |
| 292 | </dict> |
| 293 | <dict> |
| 294 | <key>match</key> |
| 295 | <string>-?\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\b</string> |
| 296 | <key>name</key> |
| 297 | <string>constant.numeric.asp</string> |
| 298 | </dict> |
| 299 | <dict> |
| 300 | <key>match</key> |
| 301 | <string>(?i:\b(vbtrue|vbfalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|int32|vbtab|vbverticaltab|vbbinarycompare|vbtextcomparevbsunday|vbmonday|vbtuesday|vbwednesday|vbthursday|vbfriday|vbsaturday|vbusesystemdayofweek|vbfirstjan1|vbfirstfourdays|vbfirstfullweek|vbgeneraldate|vblongdate|vbshortdate|vblongtime|vbshorttime|vbobjecterror|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray)\b)</string> |
| 302 | <key>name</key> |
| 303 | <string>support.type.vb.asp</string> |
| 304 | </dict> |
| 305 | <dict> |
| 306 | <key>captures</key> |
| 307 | <dict> |
| 308 | <key>1</key> |
| 309 | <dict> |
| 310 | <key>name</key> |
| 311 | <string>entity.name.function.asp</string> |
| 312 | </dict> |
| 313 | </dict> |
| 314 | <key>match</key> |
| 315 | <string>(?i:(\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b)(?=\(\)?))</string> |
| 316 | <key>name</key> |
| 317 | <string>support.function.asp</string> |
| 318 | </dict> |
| 319 | <dict> |
| 320 | <key>match</key> |
| 321 | <string>(?i:((?<=(\+|=|-|\&|\\|/|<|>|\(|,))\s*\b([a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?)\b(?!(\(|\.))|\b([a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?)\b(?=\s*(\+|=|-|\&|\\|/|<|>|\(|\)))))</string> |
| 322 | <key>name</key> |
| 323 | <string>variable.other.asp</string> |
| 324 | </dict> |
| 325 | <dict> |
| 326 | <key>match</key> |
| 327 | <string>!|\$|%|&|\*|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|/=|%=|\+=|\-=|&=|\^=|\b(in|instanceof|new|delete|typeof|void)\b</string> |
| 328 | <key>name</key> |
| 329 | <string>keyword.operator.js</string> |
| 330 | </dict> |
| 331 | </array> |
| 332 | <key>repository</key> |
| 333 | <dict> |
| 334 | <key>round-brackets</key> |
| 335 | <dict> |
| 336 | <key>begin</key> |
| 337 | <string>\(</string> |
| 338 | <key>beginCaptures</key> |
| 339 | <dict> |
| 340 | <key>0</key> |
| 341 | <dict> |
| 342 | <key>name</key> |
| 343 | <string>punctuation.section.round-brackets.begin.asp</string> |
| 344 | </dict> |
| 345 | </dict> |
| 346 | <key>end</key> |
| 347 | <string>\)</string> |
| 348 | <key>endCaptures</key> |
| 349 | <dict> |
| 350 | <key>0</key> |
| 351 | <dict> |
| 352 | <key>name</key> |
| 353 | <string>punctuation.section.round-brackets.end.asp</string> |
| 354 | </dict> |
| 355 | </dict> |
| 356 | <key>name</key> |
| 357 | <string>meta.round-brackets</string> |
| 358 | <key>patterns</key> |
| 359 | <array> |
| 360 | <dict> |
| 361 | <key>include</key> |
| 362 | <string>$self</string> |
| 363 | </dict> |
| 364 | </array> |
| 365 | </dict> |
| 366 | </dict> |
| 367 | <key>scopeName</key> |
| 368 | <string>source.asp.vb.net</string> |
| 369 | <key>uuid</key> |
| 370 | <string>7F9C9343-D48E-4E7D-BFE8-F680714DCD3E</string> |
| 371 | </dict> |
| 372 | </plist> |