package net.sourceforge.phpeclipse.phpeditor.phpparser; import java.util.TreeMap; import java.util.TreeSet; /** * * @author khartlage */ public class PHPOutlineInfo { TreeSet fVariables; PHPClassDeclaration fDeclarations; public PHPOutlineInfo(Object parent) { fVariables = new TreeSet(); fDeclarations = new PHPClassDeclaration(parent, "_root", 1); } public TreeSet getVariables() { return fVariables; } public PHPClassDeclaration getDeclarations() { return fDeclarations; } public boolean add(PHPFunctionDeclaration o) { return fDeclarations.add(o); } public boolean addVariable(String variable) { return fVariables.add(variable); } }