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