1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / Literal.java
index 3c4fcbf..e643884 100644 (file)
@@ -16,36 +16,40 @@ import net.sourceforge.phpdt.internal.compiler.impl.Constant;
 import net.sourceforge.phpdt.internal.compiler.lookup.BlockScope;
 import net.sourceforge.phpdt.internal.compiler.lookup.TypeBinding;
 
-
 public abstract class Literal extends Expression {
-       
-public Literal(int s,int e) {
-       sourceStart = s ;
-       sourceEnd= e;
-}
 
-public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo) {
-       return flowInfo;
-}
+       public Literal(int s, int e) {
+               sourceStart = s;
+               sourceEnd = e;
+       }
+
+       public FlowInfo analyseCode(BlockScope currentScope,
+                       FlowContext flowContext, FlowInfo flowInfo) {
+               return flowInfo;
+       }
+
+       public abstract void computeConstant();
+
+       // ON ERROR constant STAYS NULL
+       public abstract TypeBinding literalType(BlockScope scope);
+
+       public StringBuffer printExpression(int indent, StringBuffer output) {
 
-public abstract void computeConstant() ;
-       //ON ERROR constant STAYS NULL
-public abstract TypeBinding literalType(BlockScope scope);
-public StringBuffer printExpression(int indent, StringBuffer output){
-       
                return output.append(source());
-        }
-public TypeBinding resolveType(BlockScope scope) {
-       // compute the real value, which must range its type's range
-
-       computeConstant();
-       if (constant == null) {
-               scope.problemReporter().constantOutOfRange(this);
-               constant = Constant.NotAConstant;
-               return null;
        }
-       this.resolvedType = literalType(scope);
-       return this.resolvedType;
-}
-public abstract char[] source() ;
+
+       public TypeBinding resolveType(BlockScope scope) {
+               // compute the real value, which must range its type's range
+
+               computeConstant();
+               if (constant == null) {
+                       scope.problemReporter().constantOutOfRange(this);
+                       constant = Constant.NotAConstant;
+                       return null;
+               }
+               this.resolvedType = literalType(scope);
+               return this.resolvedType;
+       }
+
+       public abstract char[] source();
 }