OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MatcherName
(Results
1 - 9
of
9
) sorted by null
/external/clang/include/clang/ASTMatchers/Dynamic/
Registry.h
37
/// \param
MatcherName
The name of the matcher to instantiate.
50
static MatcherList constructMatcher(StringRef
MatcherName
,
61
static MatcherList constructBoundMatcher(StringRef
MatcherName
,
Parser.h
14
///
MatcherName
(Arg0, Arg1, ..., ArgN)
25
/// <MatcherExpression> := <
MatcherName
>(<ArgumentList>) |
26
/// <
MatcherName
>(<ArgumentList>).bind(<StringLiteral>)
27
/// <
MatcherName
> := [a-zA-Z]+
67
/// \param
MatcherName
The matcher name found by the parser.
80
virtual MatcherList actOnMatcherExpression(StringRef
MatcherName
,
Diagnostics.h
106
Context(ConstructMatcherEnum, Diagnostics *Error, StringRef
MatcherName
,
110
Context(MatcherArgEnum, Diagnostics *Error, StringRef
MatcherName
,
/external/clang/lib/ASTMatchers/Dynamic/
Marshallers.h
111
StringRef
MatcherName
)
112
: Marshaller(Marshaller), Func(Func),
MatcherName
(
MatcherName
.str()) {}
116
return Marshaller(Func,
MatcherName
, NameRange, Args, Error);
122
const std::string
MatcherName
;
134
typedef MatcherList (*RunFunc)(StringRef
MatcherName
,
139
FreeFuncMatcherCreateCallback(RunFunc Func, StringRef
MatcherName
)
140
: Func(Func),
MatcherName
(
MatcherName
.str()) {}
144
return Func(
MatcherName
, NameRange, Args, Error)
[
all
...]
Registry.cpp
41
void registerMatcher(StringRef
MatcherName
, MatcherCreateCallback *Callback);
45
void RegistryMaps::registerMatcher(StringRef
MatcherName
,
47
assert(Constructors.find(
MatcherName
) == Constructors.end());
48
Constructors[
MatcherName
] = Callback;
408
MatcherList Registry::constructMatcher(StringRef
MatcherName
,
413
RegistryData->constructors().find(
MatcherName
);
415
Error->addError(NameRange, Error->ET_RegistryNotFound) <<
MatcherName
;
423
MatcherList Registry::constructBoundMatcher(StringRef
MatcherName
,
428
MatcherList Out = constructMatcher(
MatcherName
, NameRange, Args, Error);
Diagnostics.cpp
26
StringRef
MatcherName
,
29
Error->pushContextFrame(CT_MatcherConstruct, MatcherRange) <<
MatcherName
;
33
StringRef
MatcherName
,
38
<<
MatcherName
;
/external/clang/include/clang/ASTMatchers/
ASTMatchersMacros.h
301
#define AST_TYPE_MATCHER(NodeType,
MatcherName
) \
302
const internal::VariadicDynCastAllOfMatcher<Type, NodeType>
MatcherName
306
/// \brief AST_TYPE_TRAVERSE_MATCHER(
MatcherName
, FunctionName) defines
307
/// the matcher \c
MatcherName
that can be used to traverse from one \c Type
313
#define AST_TYPE_TRAVERSE_MATCHER(
MatcherName
, FunctionName, ReturnTypesF) \
315
template <typename T> struct TypeMatcher##
MatcherName
##Getter { \
320
QualType, internal::TypeMatcher##
MatcherName
##Getter, \
321
internal::TypeTraverseMatcher, ReturnTypesF>::Func
MatcherName
323
/// \brief AST_TYPELOC_TRAVERSE_MATCHER(
MatcherName
, FunctionName) works
325
#define AST_TYPELOC_TRAVERSE_MATCHER(
MatcherName
, FunctionName, ReturnTypesF)
[
all
...]
/external/clang/unittests/ASTMatchers/Dynamic/
ParserTest.cpp
65
uint64_t expectMatcher(StringRef
MatcherName
) {
67
ExpectedMatchers[
MatcherName
] = ID;
79
MatcherList actOnMatcherExpression(StringRef
MatcherName
,
84
MatcherInfo ToStore = {
MatcherName
, NameRange, Args, BindID };
86
DummyDynTypedMatcher Matcher(ExpectedMatchers[
MatcherName
]);
92
StringRef
MatcherName
;
157
EXPECT_EQ("Bar", Bar.
MatcherName
);
163
EXPECT_EQ("Baz", Baz.
MatcherName
);
169
EXPECT_EQ("Foo", Foo.
MatcherName
);
RegistryTest.cpp
39
MatcherList constructMatcher(StringRef
MatcherName
,
44
Registry::constructMatcher(
MatcherName
, SourceRange(), Args(), Error);
49
MatcherList constructMatcher(StringRef
MatcherName
, const VariantValue &Arg1,
54
MatcherName
, SourceRange(), Args(Arg1), Error);
59
MatcherList constructMatcher(StringRef
MatcherName
, const VariantValue &Arg1,
65
MatcherName
, SourceRange(), Args(Arg1, Arg2), Error);
Completed in 947 milliseconds