com.ibm.lab.soln.sqleditor.utils
Class SQLWordDetector

java.lang.Object
  |
  +--com.ibm.lab.soln.sqleditor.utils.SQLWordDetector
All Implemented Interfaces:
ISQLSyntax, org.eclipse.jface.text.rules.IWordDetector

public class SQLWordDetector
extends java.lang.Object
implements org.eclipse.jface.text.rules.IWordDetector, ISQLSyntax

Determines whether a given character is valid as part of an SQL keyword in the current context.


Fields inherited from interface com.ibm.lab.soln.sqleditor.sql.ISQLSyntax
allWords, constants, functions, predicates, reservedwords, types
 
Constructor Summary
SQLWordDetector()
           
 
Method Summary
 boolean isWordPart(char c)
           
 boolean isWordStart(char c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLWordDetector

public SQLWordDetector()
Method Detail

isWordPart

public boolean isWordPart(char c)
Specified by:
isWordPart in interface org.eclipse.jface.text.rules.IWordDetector
See Also:
IWordDetector.isWordPart(char)

isWordStart

public boolean isWordStart(char c)
Specified by:
isWordStart in interface org.eclipse.jface.text.rules.IWordDetector
See Also:
IWordDetector.isWordStart(char)