Code::Blocks
SVN r11506
|
a long statement can be divided to a ParserComponent chain. More...
#include <nativeparser_base.h>
Public Member Functions | |
ParserComponent () | |
operator type More... | |
void | Clear () |
Public Attributes | |
wxString | component |
ParserTokenType | tokenType |
name More... | |
OperatorType | tokenOperatorType |
type More... | |
a long statement can be divided to a ParserComponent chain.
e.g. for a statement like below:
a chains of four ParserComponents will be generated and list below:
a ParserComponent is mainly an identifier, which we use this identifier name to query on the Symbol tree, and try to get the matched symbols. For this example, we first try to search the Symbol tree by the keyword "Ogre", this will match a symbol which has type "Namespace". The next step, we search the "Root" under the previous returned Symbols. In some special cases, such as "array[7]->b", we gives such result
Definition at line 73 of file nativeparser_base.h.
|
inline |
|
inline |
Definition at line 80 of file nativeparser_base.h.
References NativeParserBase::AddTemplateAlias(), NativeParserBase::BreakUpComponents(), NativeParserBase::CleanupSearchScope(), NativeParserBase::CollectSearchScopes(), NativeParserBase::ComputeCallTip(), NativeParserBase::DependsOnAllocator(), NativeParserBase::FindAIMatches(), NativeParserBase::FindCCTokenStart(), NativeParserBase::FindCurrentFunctionScope(), NativeParserBase::FindFunctionOpenParenthesis(), NativeParserBase::GenerateResultSet(), NativeParserBase::GetCallTipHighlight(), NativeParserBase::GetCCToken(), NativeParserBase::GetNextCCToken(), NativeParserBase::GetTokenFromCurrentLine(), NativeParserBase::IsAllocator(), NativeParserBase::NativeParserBase(), NativeParserBase::otOperatorUndefined, NativeParserBase::PrettyPrintToken(), NativeParserBase::pttUndefined, NativeParserBase::RemoveLastFunctionChildren(), NativeParserBase::Reset(), NativeParserBase::ResolveActualType(), NativeParserBase::ResolveExpression(), NativeParserBase::ResolveOperator(), NativeParserBase::ResolveTemplateMap(), tokenOperatorType, tokenType, wxEmptyString, and NativeParserBase::~NativeParserBase().
Referenced by ParserComponent(), and NativeParserBase::Reset().
wxString NativeParserBase::ParserComponent::component |
Definition at line 75 of file nativeparser_base.h.
Referenced by NativeParserBase::BreakUpComponents(), NativeParserBase::FindAIMatches(), NativeParser::ParseBufferForUsingNamespace(), NativeParserBase::ResolveActualType(), and NativeParserBase::ResolveExpression().
OperatorType NativeParserBase::ParserComponent::tokenOperatorType |
type
Definition at line 77 of file nativeparser_base.h.
Referenced by NativeParserBase::BreakUpComponents(), Clear(), and NativeParserBase::ResolveExpression().
ParserTokenType NativeParserBase::ParserComponent::tokenType |
name
Definition at line 76 of file nativeparser_base.h.
Referenced by NativeParserBase::BreakUpComponents(), Clear(), NativeParserBase::FindAIMatches(), and NativeParserBase::ResolveExpression().