Organized imports
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.js.core / src / net / sourceforge / phpeclipse / js / core / parser / JSReferenceDetector.java
1 /*
2  * Created on May 14, 2003
3  *========================================================================
4  * Modifications history
5  *========================================================================
6  * $Log: not supported by cvs2svn $
7  * Revision 1.1  2004/09/02 18:14:38  jsurfer
8  * intial source from ttp://www.sf.net/projects/wdte
9  *
10  * Revision 1.1  2004/02/26 02:25:42  agfitzp
11  * renamed packages to match xml & css
12  *
13  * Revision 1.1  2004/02/05 03:10:08  agfitzp
14  * Initial Submission
15  *
16  * Revision 1.1.2.1  2003/12/12 21:37:24  agfitzp
17  * Experimental work for Classes view
18  *
19  * Revision 1.2  2003/05/30 20:53:09  agfitzp
20  * 0.0.2 : Outlining is now done as the user types. Some other bug fixes.
21  *
22  *========================================================================
23  */
24 package net.sourceforge.phpeclipse.js.core.parser;
25
26 import org.eclipse.jface.text.rules.IWordDetector;
27
28 /**
29  * @author fitzpata
30  */
31 public class JSReferenceDetector extends JSWordDetector {
32         /**
33          * @see IWordDetector#isWordStart
34          * Try to detect tokens starting with a reference operator.
35          */
36         public boolean isWordStart(char c) {
37                 return (c == '.');
38         }
39 }