jltools.ast
Interface IntLit

All Superinterfaces:
java.lang.Cloneable, Copy, Expr, Lit, Node, NumLit, Prefix, Receiver, java.io.Serializable, Typed
All Known Implementing Classes:
IntLit_c

public interface IntLit
extends NumLit

An IntLit represents a literal in Java of an integer type.


Inner Class Summary
static class IntLit.Kind
          Integer literal kinds: byte, short, int, or long.
 
Field Summary
static IntLit.Kind BYTE
           
static IntLit.Kind INT
           
static IntLit.Kind LONG
           
static IntLit.Kind SHORT
           
 
Method Summary
 IntLit.Kind kind()
           
 IntLit kind(IntLit.Kind kind)
           
 long value()
           
 IntLit value(long value)
           
 
Methods inherited from interface jltools.ast.NumLit
longValue
 
Methods inherited from interface jltools.ast.Lit
objValue
 
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

BYTE

public static final IntLit.Kind BYTE

SHORT

public static final IntLit.Kind SHORT

INT

public static final IntLit.Kind INT

LONG

public static final IntLit.Kind LONG
Method Detail

value

public long value()

value

public IntLit value(long value)

kind

public IntLit.Kind kind()

kind

public IntLit kind(IntLit.Kind kind)