Class ExprProcessor

    • Field Detail

      • UNDEFINED_TYPE_STRING

        public static final java.lang.String UNDEFINED_TYPE_STRING
        See Also:
        Constant Field Values
      • UNKNOWN_TYPE_STRING

        public static final java.lang.String UNKNOWN_TYPE_STRING
        See Also:
        Constant Field Values
      • NULL_TYPE_STRING

        public static final java.lang.String NULL_TYPE_STRING
        See Also:
        Constant Field Values
    • Method Detail

      • copyEntries

        public static void copyEntries​(java.util.List<Exprent> stack)
      • canonicalizeCasts

        public static boolean canonicalizeCasts​(RootStatement stat)
      • markExprOddities

        public static void markExprOddities​(RootStatement root)
      • getTypeName

        public static java.lang.String getTypeName​(VarType type)
      • getTypeName

        public static java.lang.String getTypeName​(VarType type,
                                                   boolean getShort)
      • isInvalidTypeName

        public static boolean isInvalidTypeName​(java.lang.String name)
      • getCastTypeName

        public static java.lang.String getCastTypeName​(VarType type)
      • getCastTypeName

        public static java.lang.String getCastTypeName​(VarType type,
                                                       boolean getShort)
      • endsWithSemicolon

        public static boolean endsWithSemicolon​(Exprent expr)
      • jmpWrapper

        public static TextBuffer jmpWrapper​(Statement stat,
                                            int indent,
                                            boolean semicolon)
      • buildJavaClassName

        public static java.lang.String buildJavaClassName​(java.lang.String name)
      • listToJava

        public static TextBuffer listToJava​(java.util.List<? extends Exprent> lst,
                                            int indent)
      • getCastedExprent

        public static boolean getCastedExprent​(Exprent exprent,
                                               VarType leftType,
                                               TextBuffer buffer,
                                               int indent,
                                               boolean castNull)
      • doesContravarianceNeedCast

        public static boolean doesContravarianceNeedCast​(VarType left,
                                                         VarType right)