Home
last modified time | relevance | path

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

/llvm-project/lldb/source/Utility/
H A 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 …]
H A DCMakeLists.txt67 StringLexer.cpp
/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A 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 …]
H A DAppleObjCTypeEncodingParser.cpp37 std::string AppleObjCTypeEncodingParser::ReadStructName(StringLexer &type) { in ReadStructName()
44 std::string AppleObjCTypeEncodingParser::ReadQuotedString(StringLexer &type) { in ReadQuotedString()
48 StringLexer::Character next = type.Next(); in ReadQuotedString()
54 uint32_t AppleObjCTypeEncodingParser::ReadNumber(StringLexer &type) { in ReadNumber()
70 StringLexer &type, in ReadStructElement()
84 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildStruct()
90 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildUnion()
96 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression, in BuildAggregate()
154 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildArray()
173 TypeSystemClang &clang_ast_ctx, StringLexer &type, bool for_expression) { in BuildObjCObjectPointerType()
[all …]
/llvm-project/lldb/unittests/Utility/
H A 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()
/llvm-project/lldb/include/lldb/Utility/
H A DStringLexer.h18 class StringLexer {
25 StringLexer(std::string s);
45 StringLexer &operator=(const StringLexer &rhs);
/llvm-project/llvm/utils/gn/secondary/lldb/source/Utility/
H A DBUILD.gn50 "StringLexer.cpp",
/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h26 #include "lldb/Utility/StringLexer.h"
63 StringLexer type_lexer(type_cstr); in StripTypeName()