2 * (c) Copyright IBM Corp. 2000, 2001.
6 package net.sourceforge.phpdt.ui.text;
10 import org.eclipse.jface.preference.IPreferenceStore;
11 import net.sourceforge.phpdt.ui.text.IColorManager;
17 public final class SingleTokenPHPScanner extends AbstractJavaScanner{
20 private String[] fProperty;
22 public SingleTokenPHPScanner(IColorManager manager, IPreferenceStore store, String property) {
23 super(manager, store);
24 fProperty= new String[] { property };
29 * @see AbstractJavaScanner#getTokenProperties()
31 protected String[] getTokenProperties() {
36 * @see AbstractJavaScanner#createRules()
38 protected List createRules() {
39 setDefaultReturnToken(getToken(fProperty[0]));