Home
last modified time | relevance | path

Searched refs:VariantValue (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/ASTMatchers/Dynamic/
DVariantValue.cpp244 VariantValue::VariantValue(const VariantValue &Other) : Type(VT_Nothing) { in VariantValue() function in clang::ast_matchers::dynamic::VariantValue
248 VariantValue::VariantValue(unsigned Unsigned) : Type(VT_Nothing) { in VariantValue() function in clang::ast_matchers::dynamic::VariantValue
252 VariantValue::VariantValue(StringRef String) : Type(VT_Nothing) { in VariantValue() function in clang::ast_matchers::dynamic::VariantValue
256 VariantValue::VariantValue(const VariantMatcher &Matcher) : Type(VT_Nothing) { in VariantValue() function in clang::ast_matchers::dynamic::VariantValue
260 VariantValue::~VariantValue() { reset(); } in ~VariantValue()
262 VariantValue &VariantValue::operator=(const VariantValue &Other) { in operator =()
282 void VariantValue::reset() { in reset()
298 bool VariantValue::isUnsigned() const { in isUnsigned()
302 unsigned VariantValue::getUnsigned() const { in getUnsigned()
307 void VariantValue::setUnsigned(unsigned NewValue) { in setUnsigned()
[all …]
DMarshallers.h43 static bool is(const VariantValue &Value) { return Value.isString(); }
44 static const std::string &get(const VariantValue &Value) {
57 static bool is(const VariantValue &Value) {
60 static ast_matchers::internal::Matcher<T> get(const VariantValue &Value) {
69 static bool is(const VariantValue &Value) { return Value.isUnsigned(); }
70 static unsigned get(const VariantValue &Value) {
87 static bool is(const VariantValue &Value) {
91 static attr::Kind get(const VariantValue &Value) {
109 static bool is(const VariantValue &Value) {
113 static clang::CastKind get(const VariantValue &Value) {
[all …]
DParser.cpp52 VariantValue Value;
293 bool Parser::parseIdentifierPrefixImpl(VariantValue *Value) { in parseIdentifierPrefixImpl()
298 if (const VariantValue NamedValue = in parseIdentifierPrefixImpl()
300 : VariantValue()) { in parseIdentifierPrefixImpl()
326 VariantValue *Value) { in parseMatcherExpressionImpl()
487 bool Parser::parseExpressionImpl(VariantValue *Value) { in parseExpressionImpl()
559 VariantValue *Value, Diagnostics *Error) { in parseExpression()
577 VariantValue Dummy; in completeExpression()
595 VariantValue Value; in parseMatcherExpression()
DCMakeLists.txt14 VariantValue.cpp
/external/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp21 VariantValue Value = kUnsigned; in TEST()
33 VariantValue Value = kString; in TEST()
45 VariantValue Value = VariantMatcher::SingleMatcher(stmt()); in TEST()
74 VariantValue Value = StringRef("A"); in TEST()
98 Value = VariantValue(); in TEST()
107 VariantValue Value; in TEST()
125 EXPECT_TRUE(matches("class X {};", VariantValue(VariantMatcher::SingleMatcher( in TEST()
130 matches("int x;", VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()
135 VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST()
139 EXPECT_FALSE(VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()
[all …]
DRegistryTest.cpp25 std::vector<ParserValue> Args(const VariantValue &Arg1) { in Args()
30 std::vector<ParserValue> Args(const VariantValue &Arg1, in Args()
31 const VariantValue &Arg2) { in Args()
55 const VariantValue &Arg1, in constructMatcher()
68 const VariantValue &Arg1, in constructMatcher()
69 const VariantValue &Arg2, in constructMatcher()
DParserTest.cpp39 VariantValue Value; in parse()
72 std::vector<VariantValue> Values;
115 llvm::Optional<DynTypedMatcher> getSingleMatcher(const VariantValue &Value) { in getSingleMatcher()
218 VariantValue Value; in ParseWithError()
/external/clang/include/clang/ASTMatchers/Dynamic/
DVariantValue.h247 class VariantValue {
249 VariantValue() : Type(VT_Nothing) {} in VariantValue() function
251 VariantValue(const VariantValue &Other);
252 ~VariantValue();
253 VariantValue &operator=(const VariantValue &Other);
256 VariantValue(unsigned Unsigned);
257 VariantValue(StringRef String);
258 VariantValue(const VariantMatcher &Matchers);
DParser.h144 typedef llvm::StringMap<VariantValue> NamedValueMap;
189 VariantValue *Value, Diagnostics *Error);
191 VariantValue *Value, Diagnostics *Error) { in parseExpression()
194 static bool parseExpression(StringRef Code, VariantValue *Value, in parseExpression()
231 bool parseExpressionImpl(VariantValue *Value);
233 VariantValue *Value);
234 bool parseIdentifierPrefixImpl(VariantValue *Value);
DDiagnostics.h47 VariantValue Value;
/external/jsilver/src/com/google/clearsilver/jsilver/values/
DVariantValue.java28 abstract class VariantValue extends Value { class
32 VariantValue(EscapeMode escapeMode, boolean partiallyEscaped) { in VariantValue() method in VariantValue
DStringValue.java26 class StringValue extends VariantValue {
DVariableValue.java32 public class VariableValue extends VariantValue {