Home
last modified time | relevance | path

Searched refs:StringLexer (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/lldb/source/Utility/
DStringLexer.cpp17 StringLexer::StringLexer(std::string s) : m_data(std::move(s)), m_position(0) {} in StringLexer() function in StringLexer
19 StringLexer::Character StringLexer::Peek() { return m_data[m_position]; } in Peek()
21 bool StringLexer::NextIf(Character c) { in NextIf()
30 std::pair<bool, StringLexer::Character>
31 StringLexer::NextIf(std::initializer_list<Character> cs) { in NextIf()
42 bool StringLexer::AdvanceIf(const std::string &token) { in AdvanceIf()
58 StringLexer::Character StringLexer::Next() { in Next()
64 bool StringLexer::HasAtLeast(Size s) { in HasAtLeast()
68 void StringLexer::PutBack(Size s) { in PutBack()
73 std::string StringLexer::GetUnlexed() { in GetUnlexed()
[all …]
DCMakeLists.txt63 StringLexer.cpp
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeEncodingParser.h19 class StringLexer; variable
38 clang::QualType BuildType(TypeSystemClang &clang_ast_ctx, StringLexer &type,
42 clang::QualType BuildStruct(TypeSystemClang &ast_ctx, StringLexer &type,
46 StringLexer &type, bool for_expression,
49 clang::QualType BuildUnion(TypeSystemClang &ast_ctx, StringLexer &type,
52 clang::QualType BuildArray(TypeSystemClang &ast_ctx, StringLexer &type,
55 std::string ReadStructName(StringLexer &type);
57 StructElement ReadStructElement(TypeSystemClang &ast_ctx, StringLexer &type,
61 StringLexer &type,
64 uint32_t ReadNumber(StringLexer &type);
[all …]
DAppleObjCTypeEncodingParser.cpp33 std::string AppleObjCTypeEncodingParser::ReadStructName(StringLexer &type) { in ReadStructName()
40 std::string AppleObjCTypeEncodingParser::ReadQuotedString(StringLexer &type) { in ReadQuotedString()
44 StringLexer::Character next = type.Next(); in ReadQuotedString()
50 uint32_t AppleObjCTypeEncodingParser::ReadNumber(StringLexer &type) { in ReadNumber()
66 StringLexer &type, in ReadStructElement()
80 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildStruct()
86 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildUnion()
92 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression, in BuildAggregate()
150 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildArray()
168 TypeSystemClang &clang_ast_ctx, StringLexer &type, bool for_expression) { in BuildObjCObjectPointerType()
[all …]
/external/llvm-project/lldb/unittests/Utility/
DStringLexerTest.cpp15 StringLexer l("foo"); in TEST()
25 StringLexer l("foo"); in TEST()
49 StringLexer l("foobar"); in TEST()
65 StringLexer l("foo"); in TEST()
82 StringLexer l("foo"); in TEST()
92 StringLexer l("foo"); in TEST()
99 StringLexer l("foo"); in TEST()
121 StringLexer l("foo"); in TEST()
/external/llvm-project/lldb/include/lldb/Utility/
DStringLexer.h18 class StringLexer {
25 StringLexer(std::string s);
45 StringLexer &operator=(const StringLexer &rhs);
/external/llvm-project/lldb/include/lldb/DataFormatters/
DFormattersContainer.h57 StringLexer type_lexer(type_cstr); in StripTypeName()