1 package net.sourceforge.phpdt.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';
15 public Token(char type, String value, int start, int end) {
25 public int getStart() {
29 public int getType() {
33 public String getValue() {
37 public void setEnd(int end) {
41 public void setStart(int start) {
45 public void setType(char type) {
49 public void setValue(String value) {
52 public String toString() {
53 return type + " ->" + value + "<- [" + start + ", " + end + "]";