01: package net.sourceforge.squirrel_sql.client.session;
02:
03: public interface ISyntaxHighlightTokenMatcher {
04: boolean isTable(char[] buffer, int offset, int len);
05:
06: void removeSQLTokenListener(SQLTokenListener tl);
07:
08: void addSQLTokenListener(SQLTokenListener tl);
09:
10: boolean isFunction(char[] buffer, int offset, int len);
11:
12: boolean isDataType(char[] buffer, int offset, int len);
13:
14: boolean isStatementSeparator(char[] buffer, int offset, int len);
15:
16: boolean isColumn(char[] buffer, int offset, int len);
17:
18: boolean isKeyword(char[] buffer, int offset, int len);
19: }
|