View Javadoc
1   /*
2    * Licensed under the GPL License. You may not use this file except in compliance with the License.
3    * You may obtain a copy of the License at
4    *
5    *   https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
6    *
7    * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
8    * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
9    * PURPOSE.
10   */
11  package psiprobe.tokenizer;
12  
13  /**
14   * The Interface Token.
15   */
16  public interface Token {
17  
18    /**
19     * Gets the text.
20     *
21     * @return the text
22     */
23    String getText();
24  
25    /**
26     * Gets the inner text.
27     *
28     * @return the inner text
29     */
30    String getInnerText();
31  
32    /**
33     * Gets the name.
34     *
35     * @return the name
36     */
37    String getName();
38  
39    /**
40     * Gets the type.
41     *
42     * @return the type
43     */
44    int getType();
45  
46    /**
47     * Gets the line.
48     *
49     * @return the line
50     */
51    int getLine();
52  
53    /**
54     * Gets the col.
55     *
56     * @return the col
57     */
58    int getCol();
59  
60  }