1 package com.quantum.sql.parser;
4 public static final char SEPARATOR = 'S';
5 public static final char SYMBOL = 'Y';
6 public static final char LITERAL = 'L';
7 public static final char IDENTIFIER = 'I';
8 public static final char COMMENT = 'C';
9 public static final char WHITESPACE = 'W';
10 public static final char NUMERIC = 'N';
11 public static final char GROUP = 'G';
12 public static final char END_OF_LINE = 'E';
17 public Token(char type, String value, int start, int end) {
27 public int getStart() {
31 public int getType() {
35 public String getValue() {
39 public void setEnd(int end) {
43 public void setStart(int start) {
47 public void setType(char type) {
51 public void setValue(String value) {
54 public String toString() {
55 return type + " ->" + value + "<- [" + start + ", " + end + "]"; //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$