Cppcheck
Token Member List

This is the complete list of members for Token, including all inherited members.

addValue(const ValueFlow::Value &value)Token
argumentType() constTokeninline
assignIndexes()Token
assignProgressValues(Token *tok)Tokenstatic
astOperand1(Token *tok)Token
astOperand1()Tokeninline
astOperand1() constTokeninline
astOperand2(Token *tok)Token
astOperand2()Tokeninline
astOperand2() constTokeninline
astParent(Token *tok)Token
astParent()Tokeninline
astParent() constTokeninline
astSibling()Tokeninline
astSibling() constTokeninline
astString(const char *sep="") constTokeninline
astStringVerbose() constToken
astStringVerboseRecursive(std::string &ret, const nonneg int indent1=0, const nonneg int indent2=0) constTokenprivate
astStringZ3() constToken
astTop()Tokeninline
astTop() constTokeninline
bits() constTokeninline
chrInFirstWord(const char *str, char c)Tokenprivatestatic
clearValueFlow()Tokeninline
column() constTokeninline
column(nonneg int c)Tokeninline
concatStr(std::string const &b)Token
createMutualLinks(Token *begin, Token *end)Tokenstatic
deleteNext(nonneg int count=1)Token
deletePrevious(nonneg int count=1)Token
deleteThis()Token
eArithmeticalOp enum valueToken
eAssignmentOp enum valueToken
eBitOp enum valueToken
eBoolean enum valueToken
eBracket enum valueToken
eChar enum valueToken
eComparisonOp enum valueToken
eEllipsis enum valueToken
eEnumerator enum valueToken
eExtendedOp enum valueToken
efIsUnique enum valueTokenprivate
efMaxSize enum valueTokenprivate
eFunction enum valueToken
eIncDecOp enum valueToken
eKeyword enum valueToken
eLambda enum valueToken
eLiteral enum valueToken
eLogicalOp enum valueToken
eName enum valueToken
eNone enum valueToken
eNumber enum valueToken
enumerator() constTokeninline
enumerator(const Enumerator *e)Tokeninline
eOther enum valueToken
eraseTokens(Token *begin, const Token *end)Tokenstatic
eString enum valueToken
eType enum valueToken
eVariable enum valueToken
expressionString() constToken
exprId() constTokeninline
exprId(nonneg int id)Tokeninline
fAtAddress enum valueTokenprivate
fConstexpr enum valueTokenprivate
fExternC enum valueTokenprivate
fileIndex() constTokeninline
fileIndex(nonneg int indexOfFile)Tokeninline
fIncompleteVar enum valueTokenprivate
findClosingBracket() constToken
findClosingBracket()Token
findExpressionStartEndTokens() constToken
findmatch(const Token *const startTok, const char pattern[], const nonneg int varId=0)Tokenstatic
findmatch(const Token *const startTok, const char pattern[], const Token *const end, const nonneg int varId=0)Tokenstatic
findmatch(Token *const startTok, const char pattern[], const nonneg int varId=0)Tokenstatic
findmatch(Token *const startTok, const char pattern[], const Token *const end, const nonneg int varId=0)Tokenstatic
findOpeningBracket() constToken
findOpeningBracket()Token
findsimplematch(const Token *const startTok, const char(&pattern)[count])Tokeninlinestatic
findsimplematch(const Token *const startTok, const char pattern[], size_t pattern_len)Tokenstatic
findsimplematch(const Token *const startTok, const char(&pattern)[count], const Token *const end)Tokeninlinestatic
findsimplematch(const Token *const startTok, const char pattern[], size_t pattern_len, const Token *const end)Tokenstatic
findsimplematch(Token *const startTok, const char(&pattern)[count])Tokeninlinestatic
findsimplematch(Token *const startTok, const char pattern[], size_t pattern_len)Tokenstatic
findsimplematch(Token *const startTok, const char(&pattern)[count], const Token *const end)Tokeninlinestatic
findsimplematch(Token *const startTok, const char pattern[], size_t pattern_len, const Token *const end)Tokenstatic
firstWordEquals(const char *str, const char *word)Tokenprivatestatic
fIsAtomic enum valueTokenprivate
fIsAttributeConst enum valueTokenprivate
fIsAttributeConstructor enum valueTokenprivate
fIsAttributeDestructor enum valueTokenprivate
fIsAttributeExport enum valueTokenprivate
fIsAttributeMaybeUnused enum valueTokenprivate
fIsAttributeNodiscard enum valueTokenprivate
fIsAttributeNoreturn enum valueTokenprivate
fIsAttributeNothrow enum valueTokenprivate
fIsAttributePacked enum valueTokenprivate
fIsAttributePure enum valueTokenprivate
fIsAttributeUnused enum valueTokenprivate
fIsAttributeUsed enum valueTokenprivate
fIsCast enum valueTokenprivate
fIsComplex enum valueTokenprivate
fIsControlFlowKeyword enum valueTokenprivate
fIsEnumType enum valueTokenprivate
fIsFinalType enum valueTokenprivate
fIsImplicitInt enum valueTokenprivate
fIsIncompleteConstant enum valueTokenprivate
fIsInitComma enum valueTokenprivate
fIsInline enum valueTokenprivate
fIsLiteral enum valueTokenprivate
fIsLong enum valueTokenprivate
fIsName enum valueTokenprivate
fIsOperatorKeyword enum valueTokenprivate
fIsPointerCompare enum valueTokenprivate
fIsRemovedVoidParameter enum valueTokenprivate
fIsRestrict enum valueTokenprivate
fIsSigned enum valueTokenprivate
fIsSimplifedScope enum valueTokenprivate
fIsSimplifiedTypedef enum valueTokenprivate
fIsSplitVarDeclComma enum valueTokenprivate
fIsSplitVarDeclEq enum valueTokenprivate
fIsStandardType enum valueTokenprivate
fIsTemplate enum valueTokenprivate
fIsTemplateArg enum valueTokenprivate
fIsUnsigned enum valueTokenprivate
flags() constTokeninline
flags(const uint64_t flags_)Tokeninline
function(const Function *f)Token
function() constTokeninline
getContainerSizeValue(const MathLib::bigint val) constToken
getCppcheckAttribute(TokenImpl::CppcheckAttributes::Type type, MathLib::bigint &value) constTokeninline
getFlag(uint64_t flag_) constTokeninlineprivate
getInvalidValue(const Token *ftok, nonneg int argnr, const Settings &settings) constToken
getKnownIntValue() constTokeninline
getKnownValue(ValueFlow::Value::ValueType t) constToken
getMacroName() constTokeninline
getMaxValue(bool condition, MathLib::bigint path=0) constToken
getMinValue(bool condition, MathLib::bigint path=0) constToken
getMovedValue() constToken
getStrArraySize(const Token *tok)Tokenstatic
getStrLength(const Token *tok)Tokenstatic
getStrSize(const Token *tok, const Settings &settings)Tokenstatic
getTokenDebug() constTokeninline
getValue(const MathLib::bigint val) constToken
getValueGE(const MathLib::bigint val, const Settings &settings) constToken
getValueLE(const MathLib::bigint val, const Settings &settings) constToken
getValueTokenMaxStrLength() constToken
getValueTokenMinStrSize(const Settings &settings, MathLib::bigint *path=nullptr) constToken
hasCppcheckAttributes() constTokeninline
hasKnownIntValue() constToken
hasKnownSymbolicValue(const Token *tok) constToken
hasKnownValue() constToken
hasKnownValue(ValueFlow::Value::ValueType t) constToken
index() constTokeninline
insertToken(const std::string &tokenStr, const std::string &originalNameStr=emptyString, const std::string &macroNameStr=emptyString, bool prepend=false)Token
insertTokenBefore(const std::string &tokenStr, const std::string &originalNameStr=emptyString, const std::string &macroNameStr=emptyString)Tokeninline
isArithmeticalOp() constTokeninline
isAssignmentOp() constTokeninline
isAtAddress() constTokeninline
isAtAddress(bool b)Tokeninline
isAtomic() constTokeninline
isAtomic(bool b)Tokeninline
isAttributeConst() constTokeninline
isAttributeConst(bool value)Tokeninline
isAttributeConstructor() constTokeninline
isAttributeConstructor(const bool ac)Tokeninline
isAttributeDestructor() constTokeninline
isAttributeDestructor(const bool value)Tokeninline
isAttributeExport() constTokeninline
isAttributeExport(const bool value)Tokeninline
isAttributeMaybeUnused() constTokeninline
isAttributeMaybeUnused(const bool value)Tokeninline
isAttributeNodiscard() constTokeninline
isAttributeNodiscard(const bool value)Tokeninline
isAttributeNoreturn() constTokeninline
isAttributeNoreturn(const bool value)Tokeninline
isAttributeNothrow() constTokeninline
isAttributeNothrow(const bool value)Tokeninline
isAttributePacked() constTokeninline
isAttributePacked(const bool value)Tokeninline
isAttributePure() constTokeninline
isAttributePure(const bool value)Tokeninline
isAttributeUnused() constTokeninline
isAttributeUnused(bool unused)Tokeninline
isAttributeUsed() constTokeninline
isAttributeUsed(const bool unused)Tokeninline
isBinaryOp() constTokeninline
isBitfield() constTokeninline
isBoolean() constTokeninline
isC() constToken
isCalculation() constToken
isCast() constTokeninline
isCast(bool c)Tokeninline
isCChar() constTokeninline
isCMultiChar() constTokeninline
isComparisonOp() constTokeninline
isComplex() constTokeninline
isComplex(const bool value)Tokeninline
isConstexpr() constTokeninline
isConstexpr(bool b)Tokeninline
isConstOp() constTokeninline
isControlFlowKeyword() constTokeninline
isCpp() constToken
isCpp11init() constTokeninline
isEnumerator() constTokeninline
isEnumType() constTokeninline
isEnumType(const bool value)Tokeninline
isExpandedMacro() constTokeninline
isExtendedOp() constTokeninline
isExternC() constTokeninline
isExternC(bool b)Tokeninline
isFinalType() constTokeninline
isFinalType(bool b)Tokeninline
isImplicitInt() constTokeninline
isImplicitInt(bool b)Tokeninline
isIncDecOp() constTokeninline
isIncompleteConstant() constTokeninline
isIncompleteConstant(bool b)Tokeninline
isIncompleteVar() constTokeninline
isIncompleteVar(bool b)Tokeninline
isInitComma() constTokeninline
isInitComma(bool b)Tokeninline
isInline() constTokeninline
isInline(bool b)Tokeninline
isKeyword() constTokeninline
isLiteral() constTokeninline
isLong() constTokeninline
isLong(bool size)Tokeninline
isName() constTokeninline
isNameOnly() constTokeninline
isNumber() constTokeninline
isOp() constTokeninline
isOperatorKeyword() constTokeninline
isOperatorKeyword(const bool value)Tokeninline
isPointerCompare() constTokeninline
isPointerCompare(const bool b)Tokeninline
isRemovedVoidParameter() constTokeninline
isRestrict() constTokeninline
isRestrict(bool b)Tokeninline
isSigned() constTokeninline
isSigned(const bool sign)Tokeninline
isSimplifiedScope() constTokeninline
isSimplifiedScope(bool b)Tokeninline
isSimplifiedTypedef() constTokeninline
isSimplifiedTypedef(bool b)Tokeninline
isSplittedVarDeclComma() constTokeninline
isSplittedVarDeclComma(bool b)Tokeninline
isSplittedVarDeclEq() constTokeninline
isSplittedVarDeclEq(bool b)Tokeninline
isStandardType() constTokeninline
isStandardType(const bool b)Tokeninline
isTemplate() constTokeninline
isTemplate(bool b)Tokeninline
isTemplateArg() constTokeninline
isTemplateArg(const bool value)Tokeninline
isUnaryOp(const std::string &s) constTokeninline
isUnaryPreOp() constToken
isUniqueExprId() constTokeninline
isUnsigned() constTokeninline
isUnsigned(const bool sign)Tokeninline
isUpperCaseName() constToken
isUtf16() constTokeninline
isUtf32() constTokeninline
isUtf8() constTokeninline
isVariable() constTokeninline
linenr() constTokeninline
linenr(nonneg int lineNumber)Tokeninline
link(Token *linkToToken)Tokeninline
link() constTokeninline
link()Tokeninline
linkAt(int index) constToken
linkAt(int index)Token
Match(const Token *tok, const char pattern[], nonneg int varid=0)Tokenstatic
mFlagsTokenprivate
mImplTokenprivate
mLinkTokenprivate
mNextTokenprivate
move(Token *srcStart, Token *srcEnd, Token *newLocation)Tokenstatic
mPreviousTokenprivate
mStrTokenprivate
mTokensFrontBackTokenprivate
mTokTypeTokenprivate
multiCompare(const Token *tok, const char *haystack, nonneg int varid)Tokenprivatestatic
next()Tokeninline
next() constTokeninline
next(Token *nextToken)Tokeninlineprivate
nextArgument() constToken
nextArgument()Token
nextArgumentBeforeCreateLinks2() constToken
nextTemplateArgument() constToken
operator=(const Token &)=deleteToken
originalName() constTokeninline
originalName(T &&name)Tokeninline
previous()Tokeninline
previous() constTokeninline
previous(Token *previousToken)Tokeninlineprivate
printAst(bool verbose, bool xml, const std::vector< std::string > &fileNames, std::ostream &out) constToken
printLines(int lines=5) constToken
printOut(const char *title=nullptr) constToken
printOut(const char *title, const std::vector< std::string > &fileNames) constToken
printValueFlow(bool xml, std::ostream &out) constToken
progressValue() constTokeninline
removeValues(std::function< bool(const ValueFlow::Value &)> pred)Tokeninline
replace(Token *replaceThis, Token *start, Token *end)Tokenstatic
scope(const Scope *s)Tokeninline
scope() constTokeninline
scopeInfo(std::shared_ptr< ScopeInfo2 > newScopeInfo)Token
scopeInfo() constToken
setBits(const unsigned char b)Tokeninline
setCpp11init(bool cpp11init) constTokeninline
setCppcheckAttribute(TokenImpl::CppcheckAttributes::Type type, MathLib::bigint value)Tokeninline
setFlag(uint64_t flag_, bool state_)Tokeninlineprivate
setMacroName(std::string name)Tokeninline
setRemovedVoidParameter(bool b)Tokeninline
setTokenDebug(TokenDebug td)Tokeninline
setUniqueExprId()Tokeninline
setValueType(ValueType *vt)Token
simpleMatch(const Token *tok, const char(&pattern)[count])Tokeninlinestatic
simpleMatch(const Token *tok, const char pattern[], size_t pattern_len)Tokenstatic
str(T &&s)Tokeninline
str() constTokeninline
strAt(int index) constToken
stringify(const stringifyOptions &options) constToken
stringify(bool varid, bool attributes, bool macro) constToken
stringifyList(const stringifyOptions &options, const std::vector< std::string > *fileNames=nullptr, const Token *end=nullptr) constToken
stringifyList(const Token *end, bool attributes=true) constToken
stringifyList(bool varid=false) constToken
stringifyList(bool varid, bool attributes, bool linenumbers, bool linebreaks, bool files, const std::vector< std::string > *fileNames=nullptr, const Token *end=nullptr) constToken
strValue() constToken
swapWithNext()Token
takeData(Token *fromToken)Tokenprivate
templateSimplifierPointer(TemplateSimplifier::TokenAndName *tokenAndName)Tokeninline
templateSimplifierPointers() constTokeninline
templateSimplifierPointers()Tokeninline
TestToken classTokenfriend
tokAt(int index) constToken
tokAt(int index)Token
Token(const Token &)=deleteToken
Token(TokensFrontBack &tokensFrontBack)Tokenexplicit
Token(const Token *tok)Tokenexplicit
tokType() constTokeninline
tokType(Token::Type t)Tokeninline
type(const ::Type *t)Token
type() constTokeninline
Type enum nameToken
typeDecl(const Token *tok, bool pointedToType=false)Tokenstatic
typeOf(const Token *tok, const Token **typeTok=nullptr)Tokenstatic
typeStr(const Token *tok)Tokenstatic
until(const Token *t) constToken
update_property_char_string_literal()Tokenprivate
update_property_info()Tokenprivate
update_property_isStandardType()Tokenprivate
values() constTokeninline
valueType() constTokeninline
variable(const Variable *v)Tokeninline
variable() constTokeninline
varId() constTokeninline
varId(nonneg int id)Tokeninline
~Token()Token