KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > lex > FloatLiteral


1 package polyglot.lex;
2
3 import java_cup.runtime.Symbol;
4 import polyglot.util.Position;
5
6 /** A token class for float literals. */
7 public class FloatLiteral extends NumericLiteral {
8   public FloatLiteral(Position position, float f, int sym) {
9       super(position, sym);
10       this.val = new Float JavaDoc(f);
11   }
12 }
13
Popular Tags