diff options
Diffstat (limited to 'plugins/org.eclipse.jem.proxy/initParser/org/eclipse/jem/internal/proxy/initParser/NullLiteral.java')
-rw-r--r-- | plugins/org.eclipse.jem.proxy/initParser/org/eclipse/jem/internal/proxy/initParser/NullLiteral.java | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/plugins/org.eclipse.jem.proxy/initParser/org/eclipse/jem/internal/proxy/initParser/NullLiteral.java b/plugins/org.eclipse.jem.proxy/initParser/org/eclipse/jem/internal/proxy/initParser/NullLiteral.java deleted file mode 100644 index e12017952..000000000 --- a/plugins/org.eclipse.jem.proxy/initParser/org/eclipse/jem/internal/proxy/initParser/NullLiteral.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jem.internal.proxy.initParser; - -import org.eclipse.jem.internal.proxy.common.MethodHelper; - -/* - * $RCSfile: NullLiteral.java,v $ - * $Revision: 1.6 $ $Date: 2005/08/24 20:39:07 $ - */ - - -public class NullLiteral extends Expression { -public NullLiteral(){ -} -/** - * evaluate method comment. - */ -public Object evaluate() { - return null; -} -/** - * evaluate method comment. - */ -public Class getTypeClass(){ - return MethodHelper.NULL_TYPE; -} - -protected String getTypeClassName() { - return MethodHelper.NULL_TYPE.getName(); -} -/** - * true or false cannot consume any kind of expression so we must return null - */ -public Expression push(char[] token , char delimiter){ - return null; -} - -public boolean isComplete(){ - return true; -} - -/** - * Null is not primitive - */ -public boolean isPrimitive() { - return false; -} -} - - |