KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > lex > DoubleLiteral


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