2 * (c) Copyright IBM Corp. 2000, 2001.
6 package net.sourceforge.phpdt.ui.text;
10 import net.sourceforge.phpdt.internal.ui.text.AbstractJavaScanner;
12 import org.eclipse.jface.preference.IPreferenceStore;
17 public final class SingleTokenPHPScanner extends AbstractJavaScanner {
19 private String[] fProperty;
21 public SingleTokenPHPScanner(IColorManager manager, IPreferenceStore store,
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]));