Refactored packagename to net.sourceforge.phpdt.internal.compiler.ast
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / LongLiteralMinValue.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2003 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package net.sourceforge.phpdt.internal.compiler.ast;
12
13 import net.sourceforge.phpdt.internal.compiler.impl.Constant;
14
15
16 public class LongLiteralMinValue extends LongLiteral {
17
18         final static char[] CharValue = new char[]{'-', '9','2','2','3','3','7','2','0','3','6','8','5','4','7','7','5','8','0','8','L'};
19         final static Constant MIN_VALUE = Constant.fromValue(Long.MIN_VALUE) ; 
20
21 public LongLiteralMinValue(){
22         super(CharValue,0,0,Long.MIN_VALUE);
23         constant = MIN_VALUE;
24 }
25 public void computeConstant() {
26
27         /*precomputed at creation time*/}
28 }