[#llvm-DIExpressionCursor] = xref:llvm.adoc[llvm]::DIExpressionCursor :relfileprefix: ../ :mrdocs: Holds a DIExpression and keeps track of how many operands have been consumed so far. == Synopsis Declared in `<llvm/IR/DebugInfoMetadata.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class DIExpressionCursor; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/DIExpressionCursor/2constructor-00c.adoc[`DIExpressionCursor`] [.small]#[constructor]# | Constructors | xref:llvm/DIExpressionCursor/assignNewExpr.adoc[`assignNewExpr`] | Replace the expression this cursor walks. | xref:llvm/DIExpressionCursor/begin.adoc[`begin`] | Return an iterator to the beginning of the range. | xref:llvm/DIExpressionCursor/consume.adoc[`consume`] | Consume N operations. | xref:llvm/DIExpressionCursor/end.adoc[`end`] | Return an iterator to the end of the range. | xref:llvm/DIExpressionCursor/getFragmentInfo.adoc[`getFragmentInfo`] | Retrieve the fragment information, if any. | xref:llvm/DIExpressionCursor/peek.adoc[`peek`] | Return the current operation. | xref:llvm/DIExpressionCursor/peekNext.adoc[`peekNext`] | Return the next operation. | xref:llvm/DIExpressionCursor/peekNextN.adoc[`peekNextN`] | Peek at the operand N steps ahead without consuming. | xref:llvm/DIExpressionCursor/take.adoc[`take`] | Consume one operation. | xref:llvm/DIExpressionCursor/2conversion.adoc[`operator bool`] | Determine whether there are any operations left in this expression. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#