/** * The {@code input} argument given to * {@link TRegexExecRootNode#execute(VirtualFrame, RegexObject, Object, int)}. * * @param frame a virtual frame as described by {@link TRegexDFAExecutorProperties}. * @return the {@code input} argument given to * {@link TRegexExecRootNode#execute(VirtualFrame, RegexObject, Object, int)}. */ public Object getInput(VirtualFrame frame) { return FrameUtil.getObjectSafe(frame, props.getInputFS()); }
public DFACaptureGroupTrackingData getCGData(VirtualFrame frame) { return (DFACaptureGroupTrackingData) FrameUtil.getObjectSafe(frame, props.getCgDataFS()); }
public int[] getResultCaptureGroups(VirtualFrame frame) { assert props.isTrackCaptureGroups(); return (int[]) FrameUtil.getObjectSafe(frame, props.getCaptureGroupResultFS()); }