eu.bandm.sig.absy
Class OCast

java.lang.Object
  extended by eu.bandm.sig.absy.Absy
      extended by eu.bandm.sig.absy.Operation
          extended by eu.bandm.sig.absy.OCast
All Implemented Interfaces:
Formattable, Cloneable

public class OCast
extends Operation


Field Summary
protected  Type from
           
static Function<OCast,Type> get_from
           
static Function<OCast,Variable> get_in
           
static Function<OCast,Type> get_to
           
protected  Variable in
           
static Consumer<Type,OCast> set_from
           
static Consumer<Variable,OCast> set_in
           
static Consumer<Type,OCast> set_to
           
protected  Type to
           
 
Fields inherited from class eu.bandm.sig.absy.Operation
get_out, out, set_out
 
Fields inherited from class eu.bandm.sig.absy.Absy
get_location, location, set_location
 
Fields inherited from interface eu.bandm.tools.format.Formattable
format
 
Constructor Summary
OCast(Variable out, Variable in, Type from, Type to)
           
 
Method Summary
 OCast doclone()
           
 Format format()
           
 Type get_from()
           
 Variable get_in()
           
 Type get_to()
           
 OCast initFrom(Object o0)
           
 boolean set_from(Type val)
           
 boolean set_in(Variable val)
           
 boolean set_to(Type val)
           
 
Methods inherited from class eu.bandm.sig.absy.Operation
get_out, set_out
 
Methods inherited from class eu.bandm.sig.absy.Absy
get_location, set_location
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

protected Variable in

get_in

public static final Function<OCast,Variable> get_in

set_in

public static final Consumer<Variable,OCast> set_in

from

protected Type from

get_from

public static final Function<OCast,Type> get_from

set_from

public static final Consumer<Type,OCast> set_from

to

protected Type to

get_to

public static final Function<OCast,Type> get_to

set_to

public static final Consumer<Type,OCast> set_to
Constructor Detail

OCast

public OCast(Variable out,
             Variable in,
             Type from,
             Type to)
Method Detail

doclone

public OCast doclone()
Overrides:
doclone in class Operation

format

public Format format()
Specified by:
format in interface Formattable
Overrides:
format in class Operation

initFrom

public OCast initFrom(Object o0)
Overrides:
initFrom in class Operation

get_in

public Variable get_in()

set_in

public boolean set_in(Variable val)

get_from

public Type get_from()

set_from

public boolean set_from(Type val)

get_to

public Type get_to()

set_to

public boolean set_to(Type val)