dextool.clang_extensions

Members

Functions

calculate
Result calculate(CXCursor decl)

Calculate the McCabe complexity.

dex_getExprOperator
DXOperator dex_getExprOperator(const CXCursor expr)

Retrieve the operator of an expression.

dex_getExprValueKind
ValueKind dex_getExprValueKind(const CXCursor expr)

Retrieve the value kind of the expression.

dex_getOperatorExprs
DXOperatorExprs dex_getOperatorExprs(const CXCursor expr)

Retrieve the left and right side of an operator expression.

dex_getUnderlyingExprNode
CXCursor dex_getUnderlyingExprNode(const CXCursor expr)

Get the first node after the expressions.

exprValueKind
ValueKind exprValueKind(const CXCursor expr)

trusted: the C++ impl check that the node is an expression. It can handle any CursorKind.

getUnderlyingExprNode
auto getUnderlyingExprNode(const CXCursor expr)

trusted: the C++ impl check that the node is an expression. It can handle any CursorKind.

Structs

CaseStmt
struct CaseStmt
DXIfStmt
struct DXIfStmt

The cursors that make up the inside of the if statement.

DXOperator
struct DXOperator

Represent the operator of an expression that contains an operator (binary or unary).

DXOperatorExprs
struct DXOperatorExprs

The sub-expressions of an operator expression.

Operator
struct Operator
Result
struct Result

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This file uses the same license as the C++ source code.