Lines Matching refs:AstDumper
25 AstDumper::AstDumper(const ir::AstNode *node, util::StringView sourceCode) : index_(sourceCode)
31 void AstDumper::Add(std::initializer_list<AstDumper::Property> props)
33 AddList<std::initializer_list<AstDumper::Property>>(props);
36 void AstDumper::Add(const AstDumper::Property &prop)
41 const char *AstDumper::ModifierToString(ModifierFlags flags)
62 const char *AstDumper::TypeOperatorToString(TSOperatorType operatorType)
79 void AstDumper::Serialize(const AstDumper::Property &prop)
107 void AstDumper::SerializeToken(lexer::TokenType token)
112 void AstDumper::SerializePropKey(const char *str)
120 void AstDumper::SerializeString(const char *str)
125 void AstDumper::SerializeString(const util::StringView &str)
130 void AstDumper::SerializeNumber(size_t number)
135 void AstDumper::SerializeNumber(lexer::Number number)
156 void AstDumper::SerializeChar16(char16_t c16)
161 void AstDumper::SerializeBoolean(bool boolean)
166 void AstDumper::SerializeConstant(Property::Constant constant)
187 void AstDumper::SerializePropList(std::initializer_list<AstDumper::Property> props)
200 void AstDumper::SerializeArray(std::vector<const ir::AstNode *> array)
218 void AstDumper::SerializeObject(const ir::AstNode *object)
228 void AstDumper::Wrap(const WrapperCb &cb, char delimStart, char delimEnd)
240 void AstDumper::SerializeLoc(const lexer::SourceRange &loc)
254 void AstDumper::SerializeSourcePosition(const lexer::SourcePosition &pos)
267 void AstDumper::Indent()