Debian Codegraph @

src/com/google/javascript/jscomp/parsing/JsDocToken.java

raw symbols SCIP
1 /*
2 * Copyright 2009 The Closure Compiler Authors.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package com.google.javascript.jscomp.parsing;
18
19 /**
20 * JSDoc-specific tokens.
21 *
22 * This class is based on Rhino's Token.
23 *
24 */
25 enum JsDocToken {
26 // Tokens recycled from Rhino
27 EOF, // end of file token - (not EOF_CHAR)
28 EOL, // end of line
29 LT,
30 GT,
31 STRING,
32 LB, // left and right brackets
33 RB,
34 LC, // left and right curlies (braces)
35 RC,
36 LP, // left and right parentheses
37 RP,
38 COMMA, // comma operator
39 COLON,
40 // JsDoc-only tokens
41 ANNOTATION,
42 PIPE,
43 STAR,
44 EOC,
45 QMARK,
46 ELLIPSIS,
47 BANG,
48 EQUALS;
49 }