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) Frame
frame
(package private) ControlTokenConsumer
lastControlTokenConsumer
(package private) int
lineNumber
(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 GraphParserState
controlFlowsTo(ControlTokenConsumer node)
boolean
isEndOfTryCatchGuardBlock(org.objectweb.asm.tree.LabelNode node)
GraphParserState
popLatestTryBatchGuardBlock()
GraphParserState
withFrame(Frame frame)
GraphParserState
withLineNumber(int line)
GraphParserState
withNewTryCatchOnStack(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()
-
-