- calculate
Result calculate(CXCursor decl)
Calculate the McCabe complexity.
- dex_getCaseStmt
DXCaseStmt dex_getCaseStmt(CXCursor cx)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
- dex_getExprOperator
DXOperator dex_getExprOperator(CXCursor expr)
Retrieve the operator of an expression.
- dex_getExprValueKind
ValueKind dex_getExprValueKind(CXCursor expr)
Retrieve the value kind of the expression.
- dex_getIfStmt
DXIfStmt dex_getIfStmt(CXCursor cx)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
- dex_getOperatorExprs
DXOperatorExprs dex_getOperatorExprs(CXCursor expr)
Retrieve the left and right side of an operator expression.
- dex_getUnderlyingExprNode
CXCursor dex_getUnderlyingExprNode(CXCursor expr)
Get the first node after the expressions.
- dex_isAnyMacro
bool dex_isAnyMacro(CXSourceLocation location)
If the location is in any type of macro.
- dex_isFunctionTemplateConstExpr
bool dex_isFunctionTemplateConstExpr(CXCursor cx)
Whether this is a (C++11) constexpr template function or constexpr constructor.
- dex_isInSystemMacro
bool dex_isInSystemMacro(CXSourceLocation location)
Returns whether Loc is expanded from a macro in a system header.
- dex_isMacroArgExpansion
bool dex_isMacroArgExpansion(CXSourceLocation location)
Tests whether the given source location represents a macro argument's
expansion into the function-like macro definition.
- dex_isMacroBodyExpansion
bool dex_isMacroBodyExpansion(CXSourceLocation location)
Tests whether the given source location represents the expansion of a macro body.
- dex_isPotentialConstExpr
bool dex_isPotentialConstExpr(CXCursor cx)
Whether this is a (C++11) constexpr function or constexpr constructor.
- exprValueKind
ValueKind exprValueKind(CXCursor expr)
trusted: the C++ impl check that the node is an expression.
It can handle any CursorKind.
- getCaseStmt
CaseStmt getCaseStmt(CXCursor c)
Undocumented in source. Be warned that the author may not have intended to support it.
- getExprOperator
Operator getExprOperator(CXCursor expr)
Undocumented in source. Be warned that the author may not have intended to support it.
- getIfStmt
IfStmt getIfStmt(CXCursor cx)
Undocumented in source. Be warned that the author may not have intended to support it.
- getUnderlyingExprNode
auto getUnderlyingExprNode(CXCursor expr)
trusted: the C++ impl check that the node is an expression.
It can handle any CursorKind.