Searched refs:literal (Results 1 – 8 of 8) sorted by relevance
54 std::string literal = "public void foo() {}"; in TEST() local55 LiteralClassElement ce(literal); in TEST()57 EXPECT_EQ(literal, actual); in TEST()61 EXPECT_EQ(literal, written); in TEST()
262 std::string literal = "void foo() {}"; in TEST_F() local263 LiteralDecl decl(literal); in TEST_F()265 EXPECT_EQ(literal, actual); in TEST_F()268 EXPECT_EQ(literal, written); in TEST_F()
101 string literal; in BuildArgList() local110 literal = CppNameOf(a->GetType(), typenames); in BuildArgList()113 literal = literal + "*"; in BuildArgList()123 literal = "const " + literal + "&"; in BuildArgList()127 literal += " " + a->GetName(); in BuildArgList()132 literal = "&" + varName; in BuildArgList()134 literal = "std::move(" + varName + ")"; in BuildArgList()136 literal = varName; in BuildArgList()139 method_arguments.push_back(literal); in BuildArgList()143 string literal; in BuildArgList() local[all …]
107 %token<token> C_STR "string literal"115 %token<character> CHARVALUE "char literal"116 %token<token> FLOATVALUE "float literal"117 %token<token> HEXVALUE "hex literal"118 %token<token> INTVALUE "int literal"
414 std::string literal(rawValue(castKind)); in cppValue() local424 literal = "static_cast<" + in cppValue()426 + ">(" + literal + "ull)"; in cppValue()429 if (castKind == SK(UINT32) || castKind == SK(UINT64)) literal += "u"; in cppValue()430 if (castKind == SK(UINT64) || castKind == SK(INT64)) literal += "ll"; in cppValue()433 return literal + descriptionSuffix(); in cppValue()442 std::string literal; in javaValue() local446 literal = rawValue(SK(INT64)) + "L"; in javaValue()449 literal = rawValue(SK(INT64)) + "L"; in javaValue()452 literal = rawValue(SK(INT32)); in javaValue()[all …]
248 %token<str> STRING_LITERAL "string literal"754 std::cerr << "ERROR: Could not parse literal: "
150 static_assert(IExpression::Precedence::literal == (4), "");
249 # When you need a literal { or } or , in the value part of an alias you have to