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 / NullLiteral.java
index 791b6a0..d158440 100644 (file)
@@ -16,31 +16,35 @@ import net.sourceforge.phpdt.internal.compiler.lookup.TypeBinding;
 
 public class NullLiteral extends MagicLiteral {
 
-       static final char[] source = {'n' , 'u' , 'l' , 'l'};
+       static final char[] source = { 'n', 'u', 'l', 'l' };
 
-       public NullLiteral(int s , int e) {
+       public NullLiteral(int s, int e) {
 
-               super(s,e);
+               super(s, e);
        }
 
        public void computeConstant() {
-       
-               constant = NotAConstant; 
+
+               constant = NotAConstant;
        }
 
        /**
         * Code generation for the null literal
-        *
-        * @param currentScope net.sourceforge.phpdt.internal.compiler.lookup.BlockScope
-        * @param codeStream net.sourceforge.phpdt.internal.compiler.codegen.CodeStream
-        * @param valueRequired boolean
-        */ 
-//     public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired) {
-//             int pc = codeStream.position;
-//             if (valueRequired)
-//                     codeStream.aconst_null();
-//             codeStream.recordPositionsFrom(pc, this.sourceStart);
-//     }
+        * 
+        * @param currentScope
+        *            net.sourceforge.phpdt.internal.compiler.lookup.BlockScope
+        * @param codeStream
+        *            net.sourceforge.phpdt.internal.compiler.codegen.CodeStream
+        * @param valueRequired
+        *            boolean
+        */
+       // public void generateCode(BlockScope currentScope, CodeStream codeStream,
+       // boolean valueRequired) {
+       // int pc = codeStream.position;
+       // if (valueRequired)
+       // codeStream.aconst_null();
+       // codeStream.recordPositionsFrom(pc, this.sourceStart);
+       // }
        public TypeBinding literalType(BlockScope scope) {
                return NullBinding;
        }