Class FormatArgsExprCfgNode
A FormatArgsExpr. For example:
format_args!("no args");
format_args!("{} foo {:?}", 1, 2);
format_args!("{b} foo {a:?}", a=1, b=2);
let (x, y) = (1, 42);
format_args!("{x}, {y}");
Import path
import codeql.rust.controlflow.CfgNodesDirect supertypes
Indirect supertypes
Predicates
| getArgumentExpr | Gets the |
| getFormatTemplateVariableAccess | Gets a format argument of the |
Inherited predicates
| getAFormat | Gets any of the formats of this format arguments expression. | from FormatArgsExprCfgNode |
| getAPredecessor | Gets an immediate predecessor, if any. | from NodeImpl |
| getAPredecessor | Gets an immediate predecessor node of a given flow type, if any. | from NodeImpl |
| getASplit | Gets a split for this control flow node, if any. | from AstCfgNodeImpl |
| getASuccessor | Gets an immediate successor, if any. | from NodeImpl |
| getASuccessor | Gets a successor node of a given type, if any. | from NodeImpl |
| getAnArg | Gets any of the arguments of this format arguments expression. | from FormatArgsExprCfgNode |
| getAnAttr | Gets any of the attrs of this format arguments expression. | from FormatArgsExprCfgNode |
| getArg | Gets the | from FormatArgsExprCfgNode |
| getAstNode | Gets the AST node that this node corresponds to, if any. | from AstCfgNodeImpl |
| getAttr | Gets the | from FormatArgsExprCfgNode |
| getEnclosingCallable | Gets the enclosing callable of this node. | from NodeImpl |
| getExpr | Gets the underlying | from ExprCfgNode |
| getFormat | Gets the | from FormatArgsExprCfgNode |
| getFormatArgsExpr | Gets the underlying | from FormatArgsExprCfgNode |
| getLocation | Gets the location of this control flow node. | from AstCfgNodeImpl |
| getNumberOfArgs | Gets the number of arguments of this format arguments expression. | from FormatArgsExprCfgNode |
| getNumberOfAttrs | Gets the number of attrs of this format arguments expression. | from FormatArgsExprCfgNode |
| getNumberOfFormats | Gets the number of formats of this format arguments expression. | from FormatArgsExprCfgNode |
| getScope | Gets the scope of this node. | from NodeImpl |
| getSplitsString | Gets a comma-separated list of strings for each split in this node, if any. | from AstCfgNodeImpl |
| getTemplate | Gets the template of this format arguments expression, if it exists. | from FormatArgsExprCfgNode |
| hasTemplate | Holds if | from FormatArgsExprCfgNode |
| isBranch | Holds if this node has more than one successor. | from NodeImpl |
| isCondition | Holds if this control flow node has conditional successors. | from NodeImpl |
| isJoin | Holds if this node has more than one predecessor. | from NodeImpl |
| toString | Gets a textual representation of this control flow node. | from AstCfgNodeImpl |