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.lookup;
12 
13 public interface BaseTypes {
14 	final BaseTypeBinding IntBinding = new BaseTypeBinding(TypeIds.T_int,
15 			"int".toCharArray(), new char[] { 'I' }); //$NON-NLS-1$
16 
17 	final BaseTypeBinding ByteBinding = new BaseTypeBinding(TypeIds.T_byte,
18 			"byte".toCharArray(), new char[] { 'B' }); //$NON-NLS-1$
19 
20 	final BaseTypeBinding ShortBinding = new BaseTypeBinding(TypeIds.T_short,
21 			"short".toCharArray(), new char[] { 'S' }); //$NON-NLS-1$
22 
23 	final BaseTypeBinding CharBinding = new BaseTypeBinding(TypeIds.T_char,
24 			"char".toCharArray(), new char[] { 'C' }); //$NON-NLS-1$
25 
26 	final BaseTypeBinding LongBinding = new BaseTypeBinding(TypeIds.T_long,
27 			"long".toCharArray(), new char[] { 'J' }); //$NON-NLS-1$
28 
29 	final BaseTypeBinding FloatBinding = new BaseTypeBinding(TypeIds.T_float,
30 			"float".toCharArray(), new char[] { 'F' }); //$NON-NLS-1$
31 
32 	final BaseTypeBinding DoubleBinding = new BaseTypeBinding(TypeIds.T_double,
33 			"double".toCharArray(), new char[] { 'D' }); //$NON-NLS-1$
34 
35 	final BaseTypeBinding BooleanBinding = new BaseTypeBinding(
36 			TypeIds.T_boolean, "boolean".toCharArray(), new char[] { 'Z' }); //$NON-NLS-1$
37 
38 	final BaseTypeBinding NullBinding = new BaseTypeBinding(TypeIds.T_null,
39 			"null".toCharArray(), new char[] { 'N' }); // N stands for null
40 														// even if it is never
41 														// internally used
42 														// //$NON-NLS-1$
43 
44 	final BaseTypeBinding VoidBinding = new BaseTypeBinding(TypeIds.T_void,
45 			"void".toCharArray(), new char[] { 'V' }); //$NON-NLS-1$
46 }
47