eu.bandm.sig.absy
Class ECast

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

public class ECast
extends Expression


Field Summary
protected  Expression body
           
static Function<ECast,Expression> get_body
           
static Function<ECast,Boolean> get_open
           
static Function<ECast,Type> get_target
           
protected  boolean open
           
static Consumer<Expression,ECast> set_body
           
static Consumer<Boolean,ECast> set_open
           
static Consumer<Type,ECast> set_target
           
protected  Type target
           
 
Fields inherited from class eu.bandm.sig.absy.Expression
get_type, set_type, type
 
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
ECast(boolean open, Type target, Expression body)
           
 
Method Summary
 ECast doclone()
           
 Format format()
           
 Expression get_body()
           
 boolean get_open()
           
 Type get_target()
           
static String getFormatHint()
           
 ECast initFrom(Object o0)
           
 boolean set_body(Expression val)
           
 boolean set_open(boolean val)
           
 boolean set_target(Type val)
           
 
Methods inherited from class eu.bandm.sig.absy.Expression
get_type, set_type
 
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

open

protected boolean open

get_open

public static final Function<ECast,Boolean> get_open

set_open

public static final Consumer<Boolean,ECast> set_open

target

protected Type target

get_target

public static final Function<ECast,Type> get_target

set_target

public static final Consumer<Type,ECast> set_target

body

protected Expression body

get_body

public static final Function<ECast,Expression> get_body

set_body

public static final Consumer<Expression,ECast> set_body
Constructor Detail

ECast

public ECast(boolean open,
             Type target,
             Expression body)
Method Detail

doclone

public ECast doclone()
Overrides:
doclone in class Expression

getFormatHint

public static String getFormatHint()

format

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

initFrom

public ECast initFrom(Object o0)
Overrides:
initFrom in class Expression

get_open

public boolean get_open()

set_open

public boolean set_open(boolean val)

get_target

public Type get_target()

set_target

public boolean set_target(Type val)

get_body

public Expression get_body()

set_body

public boolean set_body(Expression val)