/**
* It's a php document.
+ * This class is an outlineable object
* It will contains html and php
* @author Matthieu Casanova
*/
*/
public AstNode[] nodes;
- /** The parent of the object */
+ /** The parent of the object. */
public Object parent;
/** The outlineable children (those will be in the node array too. */
/**
* Create the PHPDocument.
+ * @param parent the parent object (it should be null isn't it ?)
*/
public PHPDocument(Object parent) {
this.parent = parent;
}
/**
- * The number of outlineable children
- * @return
+ * The number of outlineable children.
+ * @return the number of children that are outlineable
*/
public int size() {
return children.size();
return PHPUiImages.DESC_CLASS;
}
+ /**
+ * Get the parent of the object.
+ * @return the parent of the object
+ */
public Object getParent() {
return parent;
}