01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.compiler.ast;
11:
12: public abstract class NumberLiteral extends Literal {
13:
14: char[] source;
15:
16: public NumberLiteral(char[] token, int s, int e) {
17:
18: this (s, e);
19: source = token;
20: }
21:
22: public NumberLiteral(int s, int e) {
23: super (s, e);
24: }
25:
26: public boolean isValidJavaStatement() {
27:
28: return false;
29: }
30:
31: public char[] source() {
32:
33: return source;
34: }
35: }
|