net.sourceforge.squirrel_sql.plugins.syntax.rsyntax
Class RSyntaxHighlightTokenMatcher

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.syntax.rsyntax.RSyntaxHighlightTokenMatcher
All Implemented Interfaces:
ISyntaxHighlightTokenMatcher

public class RSyntaxHighlightTokenMatcher
extends Object
implements ISyntaxHighlightTokenMatcher


Constructor Summary
RSyntaxHighlightTokenMatcher(ISession sess, SquirrelRSyntaxTextArea squirrelRSyntaxTextArea, IIdentifier sqlEntryPanelIdentifier, RSyntaxPropertiesWrapper rSyntaxPropertiesWrapper)
           
RSyntaxHighlightTokenMatcher(ISession sess, SquirrelRSyntaxTextArea squirrelRSyntaxTextArea, IParserEventsProcessor parserEventsProcessor)
           
 
Method Summary
 void addSQLTokenListener(SQLTokenListener tl)
           
 boolean isColumn(char[] buffer, int offset, int len)
           
 boolean isDataType(char[] buffer, int offset, int len)
           
 boolean isError(int offset, int len)
           
 boolean isFunction(char[] buffer, int offset, int len)
           
 boolean isKeyword(char[] buffer, int offset, int len)
           
 boolean isStatementSeparator(char[] buffer, int offset, int len)
           
 boolean isTable(char[] buffer, int offset, int len)
           
 void removeSQLTokenListener(SQLTokenListener tl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSyntaxHighlightTokenMatcher

public RSyntaxHighlightTokenMatcher(ISession sess,
                                    SquirrelRSyntaxTextArea squirrelRSyntaxTextArea,
                                    IParserEventsProcessor parserEventsProcessor)

RSyntaxHighlightTokenMatcher

public RSyntaxHighlightTokenMatcher(ISession sess,
                                    SquirrelRSyntaxTextArea squirrelRSyntaxTextArea,
                                    IIdentifier sqlEntryPanelIdentifier,
                                    RSyntaxPropertiesWrapper rSyntaxPropertiesWrapper)
Method Detail

isError

public boolean isError(int offset,
                       int len)
Specified by:
isError in interface ISyntaxHighlightTokenMatcher

isTable

public boolean isTable(char[] buffer,
                       int offset,
                       int len)
Specified by:
isTable in interface ISyntaxHighlightTokenMatcher

addSQLTokenListener

public void addSQLTokenListener(SQLTokenListener tl)
Specified by:
addSQLTokenListener in interface ISyntaxHighlightTokenMatcher

isFunction

public boolean isFunction(char[] buffer,
                          int offset,
                          int len)
Specified by:
isFunction in interface ISyntaxHighlightTokenMatcher

isDataType

public boolean isDataType(char[] buffer,
                          int offset,
                          int len)
Specified by:
isDataType in interface ISyntaxHighlightTokenMatcher

isStatementSeparator

public boolean isStatementSeparator(char[] buffer,
                                    int offset,
                                    int len)
Specified by:
isStatementSeparator in interface ISyntaxHighlightTokenMatcher

isColumn

public boolean isColumn(char[] buffer,
                        int offset,
                        int len)
Specified by:
isColumn in interface ISyntaxHighlightTokenMatcher

isKeyword

public boolean isKeyword(char[] buffer,
                         int offset,
                         int len)
Specified by:
isKeyword in interface ISyntaxHighlightTokenMatcher

removeSQLTokenListener

public void removeSQLTokenListener(SQLTokenListener tl)
Specified by:
removeSQLTokenListener in interface ISyntaxHighlightTokenMatcher


Copyright © 2001-2010. All Rights Reserved.