Uses of Class
de.inetsoftware.jwebassembly.module.BranchManager.ParsedBlock
Packages that use BranchManager.ParsedBlock
-
Uses of BranchManager.ParsedBlock in de.inetsoftware.jwebassembly.module
Subclasses of BranchManager.ParsedBlock in de.inetsoftware.jwebassembly.moduleModifier and TypeClassDescriptionprivate static classDescription of a parsed IF operation.private static classDescription of a parsed switch structure.private static classDescription of a parsed try-Catch structure.Classes in de.inetsoftware.jwebassembly.module that implement interfaces with type arguments of type BranchManager.ParsedBlockModifier and TypeClassDescriptionprivate static classDescription of single block/branch from the parsed Java byte code.Fields in de.inetsoftware.jwebassembly.module with type parameters of type BranchManager.ParsedBlockModifier and TypeFieldDescriptionprivate final ArrayList<BranchManager.ParsedBlock> BranchManager.allParsedOperationsprivate final HashMap<Integer, BranchManager.ParsedBlock> BranchManager.loopsMethods in de.inetsoftware.jwebassembly.module with parameters of type BranchManager.ParsedBlockModifier and TypeMethodDescriptionprivate booleanBranchManager.addBreakIfLoopContinue(BranchManager.BranchNode parent, BranchManager.ParsedBlock startBlock) Add a break to the node if the block jump to the continue position of an outer loop.private voidBranchManager.calculateGoto(BranchManager.BranchNode parent, BranchManager.ParsedBlock gotoBlock, List<BranchManager.ParsedBlock> parsedOperations) The not consumed GOTO operators of IF THEN ELSE must be break or continue in a loop.private voidBranchManager.calculateLoop(BranchManager.BranchNode parent, BranchManager.ParsedBlock loopBlock, List<BranchManager.ParsedBlock> parsedOperations) Calculate the needed nodes for a loop.intBranchManager.ParsedBlock.compareTo(BranchManager.ParsedBlock o) private voidBranchManager.convertToLoop(BranchManager.ParsedBlock gotoBlock, int conditionStart, int conditionEnd) Convert the GOTO block with condition at the end into a loop block and move the condition from the end to the start like wasm it required.Method parameters in de.inetsoftware.jwebassembly.module with type arguments of type BranchManager.ParsedBlockModifier and TypeMethodDescriptionprivate voidBranchManager.addLoops(List<BranchManager.ParsedBlock> parsedOperations) In the compiled Java byte code there is no marker for the start of loop.private voidBranchManager.calculate(BranchManager.BranchNode parent, List<BranchManager.ParsedBlock> parsedOperations) Calculate the branch tree for the given branch and parsed sub operations.private voidBranchManager.calculateGoto(BranchManager.BranchNode parent, BranchManager.ParsedBlock gotoBlock, List<BranchManager.ParsedBlock> parsedOperations) The not consumed GOTO operators of IF THEN ELSE must be break or continue in a loop.private voidBranchManager.calculateIf(BranchManager.BranchNode parent, BranchManager.IfParsedBlock startBlock, List<BranchManager.ParsedBlock> parsedOperations) Calculate the ELSE and END position of an IF control structure.private voidBranchManager.calculateLoop(BranchManager.BranchNode parent, BranchManager.ParsedBlock loopBlock, List<BranchManager.ParsedBlock> parsedOperations) Calculate the needed nodes for a loop.private voidBranchManager.calculateSwitch(BranchManager.BranchNode parent, BranchManager.SwitchParsedBlock switchBlock, List<BranchManager.ParsedBlock> parsedOperations) Calculate the blocks of a switch.private voidBranchManager.calculateTry(BranchManager.BranchNode parent, BranchManager.TryCatchParsedBlock tryBlock, List<BranchManager.ParsedBlock> parsedOperations) Calculate the needed nodes for try/catch Sample: The follow Java code:private voidBranchManager.calculateTrySubOperations(BranchManager.BranchNode catchNode, BranchManager.BranchNode node, List<BranchManager.ParsedBlock> parsedOperations) Calculate branch operations inside the CATCH/FINALLY blocks.private static voidBranchManager.normalizeEmptyThenBlocks(List<BranchManager.ParsedBlock> parsedOperations) Normalize all empty THEN blocks like:private BranchManager.IfPositionsBranchManager.searchElsePosition(BranchManager.IfParsedBlock startBlock, List<BranchManager.ParsedBlock> parsedOperations) Search the start positions of the THEN and ELSE branch from an IF control structure.