Class GraphParserState
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.parser.GraphParserState
-
public class GraphParserState extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Frameframe(package private) ControlTokenConsumerlastControlTokenConsumer(package private) intlineNumber(package private) TryCatchGuardStackEntry[]tryCatchGuardStack
-
Constructor Summary
Constructors Constructor Description GraphParserState(Frame frame, ControlTokenConsumer lastControlTokenConsumer, int lineNumber, TryCatchGuardStackEntry[] tryCatchGuardStack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphParserStatecontrolFlowsTo(ControlTokenConsumer node)booleanisEndOfTryCatchGuardBlock(org.objectweb.asm.tree.LabelNode node)GraphParserStatepopLatestTryBatchGuardBlock()GraphParserStatewithFrame(Frame frame)GraphParserStatewithLineNumber(int line)GraphParserStatewithNewTryCatchOnStack(TryCatchGuardStackEntry newTryCatchGuardStackEntry)
-
-
-
Field Detail
-
frame
final Frame frame
-
lastControlTokenConsumer
final ControlTokenConsumer lastControlTokenConsumer
-
lineNumber
final int lineNumber
-
tryCatchGuardStack
final TryCatchGuardStackEntry[] tryCatchGuardStack
-
-
Constructor Detail
-
GraphParserState
public GraphParserState(Frame frame, ControlTokenConsumer lastControlTokenConsumer, int lineNumber, TryCatchGuardStackEntry[] tryCatchGuardStack)
-
-
Method Detail
-
controlFlowsTo
public GraphParserState controlFlowsTo(ControlTokenConsumer node)
-
withLineNumber
public GraphParserState withLineNumber(int line)
-
withFrame
public GraphParserState withFrame(Frame frame)
-
withNewTryCatchOnStack
public GraphParserState withNewTryCatchOnStack(TryCatchGuardStackEntry newTryCatchGuardStackEntry)
-
isEndOfTryCatchGuardBlock
public boolean isEndOfTryCatchGuardBlock(org.objectweb.asm.tree.LabelNode node)
-
popLatestTryBatchGuardBlock
public GraphParserState popLatestTryBatchGuardBlock()
-
-