Home | History | Annotate | Download | only in src

Lines Matching defs:PrettyPrinter

32 #include "prettyprinter.h"
41 PrettyPrinter::PrettyPrinter() {
48 PrettyPrinter::~PrettyPrinter() {
53 void PrettyPrinter::VisitBlock(Block* node) {
61 void PrettyPrinter::VisitVariableDeclaration(VariableDeclaration* node) {
68 void PrettyPrinter::VisitFunctionDeclaration(FunctionDeclaration* node) {
77 void PrettyPrinter::VisitModuleDeclaration(ModuleDeclaration* node) {
86 void PrettyPrinter::VisitImportDeclaration(ImportDeclaration* node) {
95 void PrettyPrinter::VisitExportDeclaration(ExportDeclaration* node) {
102 void PrettyPrinter::VisitModuleLiteral(ModuleLiteral* node) {
107 void PrettyPrinter::VisitModuleVariable(ModuleVariable* node) {
112 void PrettyPrinter::VisitModulePath(ModulePath* node) {
119 void PrettyPrinter::VisitModuleUrl(ModuleUrl* node) {
125 void PrettyPrinter::VisitExpressionStatement(ExpressionStatement* node) {
131 void PrettyPrinter::VisitEmptyStatement(EmptyStatement* node) {
136 void PrettyPrinter::VisitIfStatement(IfStatement* node) {
148 void PrettyPrinter::VisitContinueStatement(ContinueStatement* node) {
160 void PrettyPrinter::VisitBreakStatement(BreakStatement* node) {
172 void PrettyPrinter::VisitReturnStatement(ReturnStatement* node) {
179 void PrettyPrinter::VisitWithStatement(WithStatement* node) {
187 void PrettyPrinter::VisitSwitchStatement(SwitchStatement* node) {
199 void PrettyPrinter::VisitDoWhileStatement(DoWhileStatement* node) {
209 void PrettyPrinter::VisitWhileStatement(WhileStatement* node) {
218 void PrettyPrinter::VisitForStatement(ForStatement* node) {
238 void PrettyPrinter::VisitForInStatement(ForInStatement* node) {
249 void PrettyPrinter::VisitTryCatchStatement(TryCatchStatement* node) {
260 void PrettyPrinter::VisitTryFinallyStatement(TryFinallyStatement* node) {
268 void PrettyPrinter::VisitDebuggerStatement(DebuggerStatement* node) {
273 void PrettyPrinter::VisitFunctionLiteral(FunctionLiteral* node) {
280 void PrettyPrinter::VisitSharedFunctionInfoLiteral(
288 void PrettyPrinter::VisitConditional(Conditional* node) {
297 void PrettyPrinter::VisitLiteral(Literal* node) {
302 void PrettyPrinter::VisitRegExpLiteral(RegExpLiteral* node) {
311 void PrettyPrinter::VisitObjectLiteral(ObjectLiteral* node) {
325 void PrettyPrinter::VisitArrayLiteral(ArrayLiteral* node) {
335 void PrettyPrinter::VisitVariableProxy(VariableProxy* node) {
340 void PrettyPrinter::VisitAssignment(Assignment* node) {
347 void PrettyPrinter::VisitThrow(Throw* node) {
353 void PrettyPrinter::VisitProperty(Property* node) {
370 void PrettyPrinter::VisitCall(Call* node) {
376 void PrettyPrinter::VisitCallNew(CallNew* node) {
384 void PrettyPrinter::VisitCallRuntime(CallRuntime* node) {
391 void PrettyPrinter::VisitUnaryOperation(UnaryOperation* node) {
401 void PrettyPrinter::VisitCountOperation(CountOperation* node) {
410 void PrettyPrinter::VisitBinaryOperation(BinaryOperation* node) {
419 void PrettyPrinter::VisitCompareOperation(CompareOperation* node) {
428 void PrettyPrinter::VisitThisFunction(ThisFunction* node) {
433 const char* PrettyPrinter::Print(AstNode* node) {
440 const char* PrettyPrinter::PrintExpression(FunctionLiteral* program) {
449 const char* PrettyPrinter::PrintProgram(FunctionLiteral* program) {
457 void PrettyPrinter::PrintOut(AstNode* node) {
458 PrettyPrinter printer;
463 void PrettyPrinter::Init() {
475 void PrettyPrinter::Print(const char* format, ...) {
502 void PrettyPrinter::PrintStatements(ZoneList<Statement*>* statements) {
511 void PrettyPrinter::PrintLabels(ZoneStringList* labels) {
521 void PrettyPrinter::PrintArguments(ZoneList<Expression*>* arguments) {
531 void PrettyPrinter::PrintLiteral(Handle<Object> value, bool quote) {
569 void PrettyPrinter::PrintParameters(Scope* scope) {
579 void PrettyPrinter::PrintDeclarations(ZoneList<Declaration*>* declarations) {
587 void PrettyPrinter::PrintFunctionLiteral(FunctionLiteral* function) {
598 void PrettyPrinter::PrintCaseClause(CaseClause* clause) {