|
1 | 1 | // SYNTAX TEST "Packages/HTML (C#)/WebForms/ashx.sublime-syntax" |
2 | 2 |
|
3 | 3 | <%@ WebHandler Language="C#" Class="Handler" %> |
| 4 | +//^^^^^^^^^^^^ meta.block.processing-directive.cshtml |
| 5 | +//^ punctuation.section.embedded.begin.cshtml |
| 6 | +// ^^^^^^^^^^ meta.block.processing-directive.contents.type.cshtml constant.language.processing-directive.type.cshtml entity.name.class.cs |
| 7 | +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.block.processing-directive.contents.type.cshtml |
| 8 | +// ^^^^^^^^ entity.other.attribute-name.cshtml |
| 9 | +// ^ punctuation.separator.key-value.cshtml |
| 10 | +// ^^^^ string.quoted.double.cshtml |
| 11 | +// ^ punctuation.definition.string.begin.cshtml |
| 12 | +// ^ punctuation.definition.string.end.cshtml |
| 13 | +// ^^^^^ entity.other.attribute-name.cshtml |
| 14 | +// ^ punctuation.separator.key-value.cshtml |
| 15 | +// ^^^^^^^^^ string.quoted.double.cshtml |
| 16 | +// ^ punctuation.definition.string.begin.cshtml |
| 17 | +// ^ punctuation.definition.string.end.cshtml |
| 18 | +// ^^ punctuation.section.embedded.end.cshtml |
4 | 19 |
|
5 | 20 | using System; |
6 | 21 | using System.Web; |
| 22 | +//^^^ keyword.control.import.cs |
| 23 | +// ^^^^^^^^^^ meta.path.cs |
| 24 | +// ^ punctuation.separator.namespace.cs |
| 25 | +// ^ punctuation.terminator.statement.cs |
7 | 26 |
|
8 | 27 | public class Handler : IHttpHandler |
| 28 | +//^^^^ storage.modifier.access.cs |
| 29 | +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.class.cs |
| 30 | +// ^^^^^ keyword.declaration.class.cs |
| 31 | +// ^^^^^^^ entity.name.class.cs |
| 32 | +// ^ punctuation.separator.type.cs |
| 33 | +// ^^^^^^^^^^^^ entity.other.inherited-class.cs |
9 | 34 | { |
10 | 35 | public void ProcessRequest(HttpContext context) |
| 36 | +//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.class.body.cs meta.block.cs |
| 37 | +// ^^^^^^ storage.modifier.access.cs |
| 38 | +// ^^^^ storage.type.cs |
| 39 | +// ^^^^^^^^^^^^^^ meta.method.cs entity.name.function.cs |
| 40 | +// ^^^^^^^^^^^^^^^^^^^^^ meta.method.parameters.cs |
| 41 | +// ^ punctuation.section.parameters.begin.cs |
| 42 | +// ^^^^^^^^^^^ support.type.cs |
| 43 | +// ^^^^^^^ variable.parameter.cs |
| 44 | +// ^ punctuation.section.parameters.end.cs |
11 | 45 | { |
12 | 46 | context.Response.ContentType = "text/plain"; |
13 | 47 | context.Response.Write("Hello World"); |
| 48 | +//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.class.body.cs meta.block.cs meta.method.body.cs meta.block.cs |
| 49 | +// ^^^^^^^ variable.other.cs |
| 50 | +// ^ punctuation.accessor.dot.cs |
| 51 | +// ^^^^^^^^ variable.other.cs |
| 52 | +// ^ punctuation.accessor.dot.cs |
| 53 | +// ^^^^^^^^^^^^^^^^^^^^ meta.function-call.cs |
| 54 | +// ^^^^^ variable.function.cs |
| 55 | +// ^^^^^^^^^^^^^^^ meta.group.cs |
| 56 | +// ^ punctuation.section.group.begin.cs |
| 57 | +// ^^^^^^^^^^^^^ meta.string.cs string.quoted.double.cs |
| 58 | +// ^ punctuation.definition.string.begin.cs |
| 59 | +// ^ punctuation.definition.string.end.cs |
| 60 | +// ^ punctuation.section.group.end.cs |
| 61 | +// ^ punctuation.terminator.statement.cs |
14 | 62 | } |
15 | 63 |
|
16 | 64 | public bool IsReusable |
|
0 commit comments