1 package net.sourceforge.phpdt.internal.compiler.parser;
3 import java.util.TreeSet;
9 public class PHPOutlineInfo {
11 OutlineableWithChildren fDeclarations;
13 public PHPOutlineInfo(Object parent) {
14 fVariables = new TreeSet();
15 fDeclarations = new PHPClassDeclaration(parent, "_root", 1);
18 public PHPOutlineInfo(Object parent, OutlineableWithChildren phpDocument) {
19 fVariables = new TreeSet();
20 fDeclarations = phpDocument;
23 public TreeSet getVariables() {
27 public OutlineableWithChildren getDeclarations() {
31 public boolean add(OutlineableWithChildren o) {
32 return fDeclarations.add(o);
35 public boolean addVariable(String variable) {
36 return fVariables.add(variable);