KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > expr > tree > ast > NumExpr


1 package expr.tree.ast;
2
3 public class NumExpr extends Expr
4 {
5     public final int value;
6     
7     public NumExpr(Number JavaDoc value)
8     {
9         super();
10         this.value = value.intValue();
11     }
12     
13     public void accept(TreeWalker walker)
14     {
15         walker.visit(this);
16     }
17 }
Popular Tags