1 package net.sourceforge.phpeclipse.phpeditor.phpparser;
3 import net.sourceforge.phpdt.internal.ui.PHPUiImages;
4 import org.eclipse.jface.resource.ImageDescriptor;
9 public class PHPClassDeclaration extends PHPSegmentWithChildren {
12 * Create a class declaration.
13 * @param parent the parent object (it should be a php class)
14 * @param name the name of the class
15 * @param index where the class is in the file
17 public PHPClassDeclaration(Object parent, String name, int index) {
18 super(parent, name, index);
22 * Get the image of a class.
23 * @return the image that represents a php class
25 public ImageDescriptor getImage() {
26 return PHPUiImages.DESC_CLASS;