| java.lang.Object net.sf.jdec.blockhelpers.LoopHelper
LoopHelper | public class LoopHelper (Code) | | |
Method Summary | |
public static boolean | addReturnAtDoWhileEnd(int current, int loopend) | public static boolean | checkForAnyChildIFEndAtWhileEnd(int currentForIndex, int loopStart) | public static boolean | checkForMatchingLoopAgain(ArrayList loops, int start, StringBuffer S) | public static boolean | checkForParentLoopForIF(IFBlock ifst) | public static java.lang.String | closeDoWhile(int index, List doWhileHelperList) | public static int | findCodeIndexFromInfiniteLoop(IFBlock ifst, ArrayList LoopTable, int codeIndex) | public static IFinder | getBranchFinder() | public static int | getClosestLoopEndForThisIf(int s, ArrayList loops, byte[] info) | public static LoopHelper | getInstance() | public static Loop | getLoopGivenEnd(int end) | public static Loop | getLoopGivenStart(int start) | public static int | getLoopStartForEnd(int s, ArrayList list) | public static int | getNextLoopStart(int start) | public static Loop | getParentLoopForIf(Object[] sortedloops, int ifbegin) | public static int | getParentLoopStartForIf(Object[] sortedloops, int ifbegin) | public static Loop | getThisLoop(ArrayList list, int s) | public static int | getloopEndForStart(ArrayList list, int start) | public static boolean | isBeyondLoop(int ifjump, ArrayList list, byte[] info) | public static boolean | isIfFirstIfInLoopCondition(byte[] info, int pos) | public static Loop | isIfInADoWhile(int current, IFBlock ifst, ArrayList loops) | public static boolean | isIndexEndOfLoop(ArrayList list, int s) | public static boolean | isPositionALoopStart(ArrayList loops, int index) | public static boolean | isThisLoopEndAlso(ArrayList loops, int i, int ifstart) | public static Object[] | sortLoops(ArrayList list) |
addReturnAtDoWhileEnd | public static boolean addReturnAtDoWhileEnd(int current, int loopend)(Code) | | |
checkForAnyChildIFEndAtWhileEnd | public static boolean checkForAnyChildIFEndAtWhileEnd(int currentForIndex, int loopStart)(Code) | | |
checkForParentLoopForIF | public static boolean checkForParentLoopForIF(IFBlock ifst)(Code) | | |
findCodeIndexFromInfiniteLoop | public static int findCodeIndexFromInfiniteLoop(IFBlock ifst, ArrayList LoopTable, int codeIndex)(Code) | | |
getClosestLoopEndForThisIf | public static int getClosestLoopEndForThisIf(int s, ArrayList loops, byte[] info)(Code) | | |
getLoopGivenEnd | public static Loop getLoopGivenEnd(int end)(Code) | | |
getLoopGivenStart | public static Loop getLoopGivenStart(int start)(Code) | | |
getLoopStartForEnd | public static int getLoopStartForEnd(int s, ArrayList list)(Code) | | |
getNextLoopStart | public static int getNextLoopStart(int start)(Code) | | |
getParentLoopForIf | public static Loop getParentLoopForIf(Object[] sortedloops, int ifbegin)(Code) | | |
getParentLoopStartForIf | public static int getParentLoopStartForIf(Object[] sortedloops, int ifbegin)(Code) | | |
getloopEndForStart | public static int getloopEndForStart(ArrayList list, int start)(Code) | | |
isBeyondLoop | public static boolean isBeyondLoop(int ifjump, ArrayList list, byte[] info)(Code) | | |
isIfFirstIfInLoopCondition | public static boolean isIfFirstIfInLoopCondition(byte[] info, int pos)(Code) | | |
isIndexEndOfLoop | public static boolean isIndexEndOfLoop(ArrayList list, int s)(Code) | | |
isPositionALoopStart | public static boolean isPositionALoopStart(ArrayList loops, int index)(Code) | | |
isThisLoopEndAlso | public static boolean isThisLoopEndAlso(ArrayList loops, int i, int ifstart)(Code) | | |
|
|