|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jltools.ext.jl.ast.Node_c
|
+--jltools.ext.jl.ast.Expr_c
|
+--jltools.ext.jl.ast.Lit_c
|
+--jltools.ext.jl.ast.NumLit_c
An integer literal: longs, ints, shorts, bytes, and chars.
| Inner classes inherited from class jltools.ext.jl.ast.Node_c |
Node_c.StringCodeWriter |
| Field Summary | |
protected long |
value
|
| Fields inherited from class jltools.ext.jl.ast.Expr_c |
type |
| Fields inherited from class jltools.ext.jl.ast.Node_c |
ext, position |
| Constructor Summary | |
NumLit_c(Ext ext,
Position pos,
long value)
|
|
| Method Summary | |
long |
longValue()
Get the value of the expression. |
java.lang.Object |
objValue()
Get the value of the expression, as an object. |
| Methods inherited from class jltools.ext.jl.ast.Lit_c |
precedence |
| Methods inherited from class jltools.ext.jl.ast.Expr_c |
buildTypes_, dump, reconstructTypes_, translateSubexpr, type, type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jltools.ast.Expr |
precedence, type |
| Methods inherited from interface jltools.ast.Node |
buildTypes_, buildTypesOverride_, copy, disambiguate_, disambiguateOverride_, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, translate_, typeCheck_, typeCheckOverride_, visit, visitChildren |
| Methods inherited from interface jltools.ast.Typed |
type |
| Field Detail |
protected long value
| Constructor Detail |
public NumLit_c(Ext ext,
Position pos,
long value)
| Method Detail |
public long longValue()
longValue in interface NumLitpublic java.lang.Object objValue()
objValue in interface LitobjValue in class Lit_c
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||