Lines Matching refs:AstDumper

25 AstDumper::AstDumper(const BlockStatement *program, util::StringView sourceCode) : index_(sourceCode), indent_(0)
30 AstDumper::AstDumper(const ir::AstNode *node) : indent_(0), dumpNodeOnly_(true)
35 void AstDumper::SerializeNode(const ir::AstNode *node)
42 void AstDumper::Add(std::initializer_list<AstDumper::Property> props)
44 AddList<std::initializer_list<AstDumper::Property>>(props);
47 void AstDumper::Add(const AstDumper::Property &prop)
52 const char *AstDumper::ModifierToString(ModifierFlags flags)
69 const char *AstDumper::TypeOperatorToString(TSOperatorType operatorType)
86 void AstDumper::Serialize(const AstDumper::Property &prop)
116 void AstDumper::SerializeToken(lexer::TokenType token)
121 void AstDumper::SerializePropKey(const char *str)
132 void AstDumper::SerializeString(const char *str)
137 void AstDumper::SerializeString(const util::StringView &str)
142 void AstDumper::SerializeNumber(size_t number)
147 void AstDumper::SerializeNumber(double number)
156 void AstDumper::SerializeBoolean(bool boolean)
161 void AstDumper::SerializeConstant(Property::Constant constant)
178 void AstDumper::SerializePropList(std::initializer_list<AstDumper::Property> props)
190 void AstDumper::SerializeArray(std::vector<const ir::AstNode *> array)
211 void AstDumper::SerializeObject(const ir::AstNode *object)
219 void AstDumper::Wrap(const WrapperCb &cb, char delimStart, char delimEnd)
236 void AstDumper::SerializeLoc(const lexer::SourceRange &loc)
250 void AstDumper::SerializeSourcePosition(const lexer::SourcePosition &pos)
263 void AstDumper::Indent()