public final class ExprFactory extends WalkerFactoryBase
Constructor and Description |
---|
ExprFactory(WalkerContext context) |
getIR, getReporter, getSymbols, getThisArgs, raiseError, raiseError
public ExprFactory(WalkerContext context)
public Expr constant(Where w, java.lang.String text, int radix) throws SemanticException
SemanticException
public Expr namedConstant(Where w, java.lang.String name) throws SemanticException
SemanticException
public Expr operator(Where w, java.lang.String id, Expr... operands) throws SemanticException
SemanticException
public Expr repeat(Where w, Expr count, Expr expr) throws SemanticException
SemanticException
public Expr concat(Where w, Expr left, Expr right) throws SemanticException
SemanticException
public Expr sqrt(Where w, Expr operand) throws SemanticException
SemanticException
public Expr isNan(Where w, Expr operand) throws SemanticException
SemanticException
public Expr isSignalingNan(Where w, Expr operand) throws SemanticException
SemanticException
public Expr signExtend(Where w, Expr src, Type type) throws SemanticException
SemanticException
public Expr zeroExtend(Where w, Expr src, Type type) throws SemanticException
SemanticException
public Expr coerce(Where w, Expr src, Type type) throws SemanticException
SemanticException
public Expr cast(Where w, Expr src, Type type) throws SemanticException
SemanticException
public Expr int_to_float(Where w, Expr src, Type type) throws SemanticException
SemanticException
public Expr float_to_int(Where w, Expr src, Type type) throws SemanticException
SemanticException
public Expr float_to_float(Where w, Expr src, Type type) throws SemanticException
SemanticException
public Expr condition(Where w, java.util.List<ru.ispras.fortress.util.Pair<Expr,Expr>> blocks) throws SemanticException
SemanticException
public Expr evaluateConst(Where w, Expr src) throws SemanticException
SemanticException
public Expr evaluateSize(Where w, Expr src) throws SemanticException
SemanticException
public Expr evaluateIndex(Where w, Expr src) throws SemanticException
SemanticException
public Expr evaluateLogic(Where w, Expr src) throws SemanticException
SemanticException
public Expr evaluateData(Where w, Expr src) throws SemanticException
SemanticException