| 
    Cppcheck
    
   | 
 
#include <token.h>
Classes | |
| struct | CppcheckAttributes | 
Public Types | |
| enum class | Cpp11init { UNKNOWN , CPP11INIT , NOINIT } | 
Public Member Functions | |
| void | setCppcheckAttribute (CppcheckAttributes::Type type, MathLib::bigint value) | 
| bool | getCppcheckAttribute (CppcheckAttributes::Type type, MathLib::bigint &value) const | 
| TokenImpl () | |
| ~TokenImpl () | |
Public Attributes | |
| nonneg int | mVarId {} | 
| nonneg int | mFileIndex {} | 
| nonneg int | mLineNumber {} | 
| nonneg int | mColumn {} | 
| nonneg int | mExprId {} | 
| nonneg int | mProgressValue {} | 
| A value from 0-100 that provides a rough idea about where in the token list this token is located.  More... | |
| nonneg int | mIndex {} | 
| Token index.  More... | |
| unsigned char | mBits {} | 
| Bitfield bit count.  More... | |
| Token * | mAstOperand1 {} | 
| Token * | mAstOperand2 {} | 
| Token * | mAstParent {} | 
| const Scope * | mScope {} | 
| union { | |
| const Function * mFunction | |
| const Variable * mVariable | |
| const ::Type * mType | |
| const Enumerator * mEnumerator | |
| }; | |
| std::string * | mOriginalName {} | 
| std::string | mMacroName | 
| ValueType * | mValueType {} | 
| std::list< ValueFlow::Value > * | mValues {} | 
| std::set< TemplateSimplifier::TokenAndName * > * | mTemplateSimplifierPointers {} | 
| std::shared_ptr< ScopeInfo2 > | mScopeInfo | 
| CppcheckAttributes * | mCppcheckAttributes {} | 
| enum TokenImpl::Cpp11init | mCpp11init = Cpp11init::UNKNOWN | 
| TokenDebug | mDebug {} | 
Static Public Attributes | |
| static const std::list< ValueFlow::Value > | mEmptyValueList | 
      
  | 
  strong | 
| TokenImpl::~TokenImpl | ( | ) | 
Definition at line 2628 of file token.cpp.
References mCppcheckAttributes, mOriginalName, mTemplateSimplifierPointers, mValues, mValueType, and TokenImpl::CppcheckAttributes::next.
| bool TokenImpl::getCppcheckAttribute | ( | CppcheckAttributes::Type | type, | 
| MathLib::bigint & | value | ||
| ) | const | 
Definition at line 2664 of file token.cpp.
References mCppcheckAttributes, TokenImpl::CppcheckAttributes::next, TokenImpl::CppcheckAttributes::type, and TokenImpl::CppcheckAttributes::value.
| void TokenImpl::setCppcheckAttribute | ( | CppcheckAttributes::Type | type, | 
| MathLib::bigint | value | ||
| ) | 
Definition at line 2648 of file token.cpp.
References mCppcheckAttributes, TokenImpl::CppcheckAttributes::next, TokenImpl::CppcheckAttributes::type, and TokenImpl::CppcheckAttributes::value.
| union { ... } | 
| Token* TokenImpl::mAstOperand1 {} | 
Definition at line 84 of file token.h.
Referenced by Token::astOperand1(), Token::astParent(), and Token::isUnaryPreOp().
| Token* TokenImpl::mAstOperand2 {} | 
Definition at line 85 of file token.h.
Referenced by Token::astOperand2(), and Token::astParent().
| Token* TokenImpl::mAstParent {} | 
Definition at line 86 of file token.h.
Referenced by Token::astParent(), and Token::astTop().
| enum TokenImpl::Cpp11init TokenImpl::mCpp11init = Cpp11init::UNKNOWN | 
| CppcheckAttributes* TokenImpl::mCppcheckAttributes {} | 
Definition at line 122 of file token.h.
Referenced by getCppcheckAttribute(), setCppcheckAttribute(), and ~TokenImpl().
| TokenDebug TokenImpl::mDebug {} | 
      
  | 
  static | 
Definition at line 108 of file token.h.
Referenced by Token::values().
| const Enumerator* TokenImpl::mEnumerator | 
| nonneg int TokenImpl::mExprId {} | 
Definition at line 67 of file token.h.
Referenced by Token::stringify().
| nonneg int TokenImpl::mFileIndex {} | 
Definition at line 64 of file token.h.
Referenced by Token::insertToken(), and Token::stringifyList().
| const Function* TokenImpl::mFunction | 
Definition at line 91 of file token.h.
Referenced by Token::function().
| nonneg int TokenImpl::mIndex {} | 
Token index.
Position in token list
Definition at line 78 of file token.h.
Referenced by Token::assignIndexes().
| nonneg int TokenImpl::mLineNumber {} | 
Definition at line 65 of file token.h.
Referenced by Token::insertToken(), and Token::stringifyList().
| std::string* TokenImpl::mOriginalName {} | 
Definition at line 98 of file token.h.
Referenced by ~TokenImpl().
| nonneg int TokenImpl::mProgressValue {} | 
A value from 0-100 that provides a rough idea about where in the token list this token is located.
Definition at line 73 of file token.h.
Referenced by Token::insertToken(), Token::move(), and Token::replace().
| std::shared_ptr<ScopeInfo2> TokenImpl::mScopeInfo | 
Definition at line 114 of file token.h.
Referenced by Token::insertToken(), and Token::scopeInfo().
| std::set<TemplateSimplifier::TokenAndName*>* TokenImpl::mTemplateSimplifierPointers {} | 
Definition at line 111 of file token.h.
Referenced by Token::swapWithNext(), Token::takeData(), and ~TokenImpl().
| const ::Type* TokenImpl::mType | 
Definition at line 93 of file token.h.
Referenced by Token::type().
| std::list<ValueFlow::Value>* TokenImpl::mValues {} | 
Definition at line 107 of file token.h.
Referenced by Token::addValue(), Token::getContainerSizeValue(), Token::getInvalidValue(), Token::getKnownValue(), Token::getMaxValue(), Token::getMinValue(), Token::getMovedValue(), Token::getValue(), Token::getValueGE(), Token::getValueLE(), Token::getValueTokenMaxStrLength(), Token::getValueTokenMinStrSize(), Token::hasKnownIntValue(), Token::hasKnownSymbolicValue(), Token::hasKnownValue(), Token::printValueFlow(), and ~TokenImpl().
| ValueType* TokenImpl::mValueType {} | 
Definition at line 104 of file token.h.
Referenced by Token::argumentType(), Token::setValueType(), and ~TokenImpl().
| nonneg int TokenImpl::mVarId {} | 
Definition at line 63 of file token.h.
Referenced by Token::addValue(), Token::stringify(), and Token::update_property_info().