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(const std::string &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 …]
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()
DMarshallers.h44 static bool is(const VariantValue &Value) { return Value.isString(); }
45 static const std::string &get(const VariantValue &Value) {
58 static bool is(const VariantValue &Value) {
61 static ast_matchers::internal::Matcher<T> get(const VariantValue &Value) {
70 static bool is(const VariantValue &Value) { return Value.isUnsigned(); }
71 static unsigned get(const VariantValue &Value) {
88 static bool is(const VariantValue &Value) {
92 static attr::Kind get(const VariantValue &Value) {
290 const VariantValue &Value = Arg.Value;
584 const VariantValue &Value = Arg.Value;
DCMakeLists.txt5 VariantValue.cpp
/external/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp24 VariantValue Value = kUnsigned; in TEST()
36 VariantValue Value = kString; in TEST()
48 VariantValue Value = VariantMatcher::SingleMatcher(stmt()); in TEST()
77 VariantValue Value = std::string("A"); in TEST()
101 Value = VariantValue(); in TEST()
110 VariantValue Value; in TEST()
128 EXPECT_TRUE(matches("class X {};", VariantValue(VariantMatcher::SingleMatcher( in TEST()
133 matches("int x;", VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()
138 VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST()
142 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(const std::string &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 {