jbet
Class Node.Cast

java.lang.Object
  extended by jbet.Node
      extended by jbet.Node.Cast
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
Node

public static class Node.Cast
extends Node


Nested Class Summary
 
Nested classes/interfaces inherited from class jbet.Node
Node.aload, Node.assign, Node.astore, Node.Cast, Node.cdouble, Node.cfloat, Node.cint, Node.clong, Node.cnull, Node.constant, Node.cString, Node.getfield, Node.Goto, Node.invokeinit, Node.invokenoa, Node.invokes, Node.invokesnoa, Node.invokev, Node.invokevnoa, Node.Label, Node.marker, Node.monitorop, Node.MultiNewArray, Node.N1, Node.N2, Node.New, Node.NewArray, Node.param, Node.ret, Node.setfield, Node.SubMethod, Node.var
 
Field Summary
 boolean checkcast
           
 Type t
           
 Node val
           
 
Fields inherited from class jbet.Node
clocal, comment, count, destinations, done, esneed, EXIT, external, jvm2node, NONE, op, OP_ARRAYLENGTH, OP_CINT, OP_CSTRING, OP_D2F, OP_D2I, OP_D2L, OP_DADD, OP_DCMPG, OP_DCMPL, OP_DDIV, OP_DMUL, OP_DNEG, OP_DREM, OP_DSUB, OP_F2D, OP_F2I, OP_F2L, OP_FADD, OP_FCMPG, OP_FCMPL, OP_FDIV, OP_FMUL, OP_FNEG, OP_FREM, OP_FSUB, OP_GETFIELD, OP_GETSTATIC, OP_I2B, OP_I2C, OP_I2D, OP_I2F, OP_I2L, OP_I2S, OP_IADD, OP_IAND, OP_IDIV, OP_IMUL, OP_INEG, OP_INVOKEINTERFACE, OP_INVOKESTATIC, OP_INVOKEVIRTUAL, OP_IOR, OP_IREM, OP_ISHL, OP_ISHR, OP_ISUB, OP_IUSHR, OP_IXOR, OP_L2D, OP_L2F, OP_L2I, OP_LADD, OP_LAND, OP_LCMP, OP_LDIV, OP_LMUL, OP_LNEG, OP_LOR, OP_LREM, OP_LSHL, OP_LSHR, OP_LSUB, OP_LUSHR, OP_LXOR, OP_PUTFIELD, OP_PUTSTATIC, OP_VAR, op1jvm, op2jvm, otype, required, requires, sb, serial, TOSTR_COMMENT, TOSTR_DFL, TOSTR_EXTRA, TOSTR_FLAGS1, TOSTR_SRC
 
Constructor Summary
Node.Cast(java.lang.String c, Node v, boolean cc)
           
Node.Cast(Type _t, Node v, boolean cc)
           
 
Method Summary
 void codegen1(Snippit out)
           
 boolean equals(java.lang.Object io)
           
 void findinputs(int[] mk)
           
 Node get__val()
           
 int hashCode()
           
 int numParams()
          Return the count of input parameters for this subtype of Node.
 Type paramType(int i)
           
 void set__val(Node n)
           
protected  java.lang.String toString1(int flags)
           
 Type type()
           
 
Methods inherited from class jbet.Node
addDestination, addDestination2, addrefcounts, allnodes, allnodes, allnodes, Constant, countDests, destinationString, hasSideEffect, idempotent, isFake, isinit, jvm2node, replace, replace, replace1, require, require, require2, require2, requires, storeDests, toString, toString, urequire, usesAt
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

t

public Type t

checkcast

public boolean checkcast

val

public Node val
Constructor Detail

Node.Cast

public Node.Cast(java.lang.String c,
                 Node v,
                 boolean cc)

Node.Cast

public Node.Cast(Type _t,
                 Node v,
                 boolean cc)
Method Detail

numParams

public int numParams()
Description copied from class: Node
Return the count of input parameters for this subtype of Node. The first numParams() items in "requires" are parameter Nodes.

Overrides:
numParams in class Node
Returns:
count of parameters

paramType

public Type paramType(int i)
Overrides:
paramType in class Node

get__val

public Node get__val()

set__val

public void set__val(Node n)

toString1

protected java.lang.String toString1(int flags)
Overrides:
toString1 in class Node

equals

public boolean equals(java.lang.Object io)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

codegen1

public void codegen1(Snippit out)
Overrides:
codegen1 in class Node

type

public Type type()
Overrides:
type in class Node

findinputs

public void findinputs(int[] mk)
Overrides:
findinputs in class Node