Skip to main content
summaryrefslogtreecommitdiffstats
blob: 67327d94b3d7364cc9aaac4c89f59328ad91cd08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
  "$gtype": "LanguageDef",
  "fileSuffix": "js",
  "partitionList": [
    {
      "$gtype": "Partition",
      "name": "__dftl_partition_content_type",
      "ruleList": [],
      "tokenList": [
        {
          "$gtype": "Token",
          "defaultToken": true,
          "name": "js_default",
          "tokenScannerList": []
        },
        {
          "$gtype": "Token",
          "defaultToken": false,
          "name": "js_operator",
          "tokenScannerList": [
            {
              "$gtype": "TokenScanner_CharacterRule",
              "characterList": [
                ";",
                ".",
                "\u003d",
                "/",
                "\\",
                "+",
                "-",
                "*",
                "\u003c",
                "\u003e",
                ":",
                "?",
                "!",
                ",",
                "|",
                "\u0026",
                "^",
                "%",
                "~"
              ]
            }
          ]
        },
        {
          "$gtype": "Token",
          "defaultToken": false,
          "name": "js_bracket",
          "tokenScannerList": [
            {
              "$gtype": "TokenScanner_CharacterRule",
              "characterList": [
                "(",
                ")",
                "{",
                "}",
                "[",
                "]"
              ]
            }
          ]
        },
        {
          "$gtype": "Token",
          "defaultToken": false,
          "name": "js_keyword",
          "tokenScannerList": [
            {
              "$gtype": "TokenScanner_Keyword",
              "keywordList": [
                "break",
                "case",
                "catch",
                "continue",
                "debugger",
                "default",
                "delete",
                "do",
                "else",
                "finally",
                "for",
                "function",
                "if",
                "in",
                "instanceof",
                "new",
                "return",
                "switch",
                "this",
                "throw",
                "try",
                "typeof",
                "var",
                "void",
                "while",
                "with"
              ]
            }
          ]
        }
      ]
    },
    {
      "$gtype": "Partition",
      "name": "__js_single_line_comment",
      "ruleList": [
        {
          "$gtype": "PartitionRule_SingleLine",
          "endSeq": "",
          "startSeq": "//"
        }
      ],
      "tokenList": [
        {
          "$gtype": "Token",
          "defaultToken": true,
          "name": "js_doc_default",
          "tokenScannerList": []
        }
      ]
    },
    {
      "$gtype": "Partition",
      "name": "__js_multi_line_comment",
      "ruleList": [
        {
          "$gtype": "PartitionRule_MultiLine",
          "endSeq": "*/",
          "startSeq": "/*"
        }
      ],
      "tokenList": [
        {
          "$gtype": "Token",
          "defaultToken": true,
          "name": "js_doc_default",
          "tokenScannerList": []
        }
      ]
    },
    {
      "$gtype": "Partition",
      "name": "__js_string",
      "ruleList": [
        {
          "$gtype": "PartitionRule_SingleLine",
          "endSeq": "\u0027",
          "escapedBy": "\\",
          "startSeq": "\u0027"
        },
        {
          "$gtype": "PartitionRule_SingleLine",
          "endSeq": "\"",
          "escapedBy": "\\",
          "startSeq": "\""
        }
      ],
      "tokenList": [
        {
          "$gtype": "Token",
          "defaultToken": true,
          "name": "js_string",
          "tokenScannerList": []
        }
      ]
    }
  ]
}

Back to the top