1 package net.sourceforge.phpdt.internal.compiler.parser;
3 import net.sourceforge.phpdt.internal.compiler.ast.SingleTypeReference;
5 public class VariableInfo {
6 static final public int LEVEL_UNDEFINED = 0;
8 static final public int LEVEL_GLOBAL_VAR = 3;
10 static final public int LEVEL_STATIC_VAR = 4;
12 static final public int LEVEL_CLASS_UNIT = 5;
14 static final public int LEVEL_FUNCTION_DEFINITION = 6;
16 static final public int LEVEL_METHOD_DEFINITION = 7;
18 public int level = LEVEL_UNDEFINED;
22 public SingleTypeReference reference = null;
24 public char[] typeIdentifier = null;
26 public VariableInfo(int startPosition) {
27 this(startPosition, LEVEL_UNDEFINED);
30 public VariableInfo(int startPosition, int level) {
31 this.startPosition = startPosition;