Home | History | Annotate | Download | only in src

Lines Matching refs:PrettyPrinter

32 #include "prettyprinter.h"
41 PrettyPrinter::PrettyPrinter() {
48 PrettyPrinter::~PrettyPrinter() {
53 void PrettyPrinter::VisitBlock(Block* node) {
61 void PrettyPrinter::VisitDeclaration(Declaration* node) {
72 void PrettyPrinter::VisitExpressionStatement(ExpressionStatement* node) {
78 void PrettyPrinter::VisitEmptyStatement(EmptyStatement* node) {
83 void PrettyPrinter::VisitIfStatement(IfStatement* node) {
95 void PrettyPrinter::VisitContinueStatement(ContinueStatement* node) {
107 void PrettyPrinter::VisitBreakStatement(BreakStatement* node) {
119 void PrettyPrinter::VisitReturnStatement(ReturnStatement* node) {
126 void PrettyPrinter::VisitWithEnterStatement(WithEnterStatement* node) {
133 void PrettyPrinter::VisitWithExitStatement(WithExitStatement* node) {
138 void PrettyPrinter::VisitSwitchStatement(SwitchStatement* node) {
150 void PrettyPrinter::VisitDoWhileStatement(DoWhileStatement* node) {
160 void PrettyPrinter::VisitWhileStatement(WhileStatement* node) {
169 void PrettyPrinter::VisitForStatement(ForStatement* node) {
189 void PrettyPrinter::VisitForInStatement(ForInStatement* node) {
200 void PrettyPrinter::VisitTryCatchStatement(TryCatchStatement* node) {
210 void PrettyPrinter::VisitTryFinallyStatement(TryFinallyStatement* node) {
218 void PrettyPrinter::VisitDebuggerStatement(DebuggerStatement* node) {
223 void PrettyPrinter::VisitFunctionLiteral(FunctionLiteral* node) {
230 void PrettyPrinter::VisitFunctionBoilerplateLiteral(
238 void PrettyPrinter::VisitConditional(Conditional* node) {
247 void PrettyPrinter::VisitLiteral(Literal* node) {
252 void PrettyPrinter::VisitRegExpLiteral(RegExpLiteral* node) {
261 void PrettyPrinter::VisitObjectLiteral(ObjectLiteral* node) {
275 void PrettyPrinter::VisitArrayLiteral(ArrayLiteral* node) {
285 void PrettyPrinter::VisitCatchExtensionObject(CatchExtensionObject* node) {
294 void PrettyPrinter::VisitSlot(Slot* node) {
316 void PrettyPrinter::VisitVariableProxy(VariableProxy* node) {
321 void PrettyPrinter::VisitAssignment(Assignment* node) {
328 void PrettyPrinter::VisitThrow(Throw* node) {
334 void PrettyPrinter::VisitProperty(Property* node) {
351 void PrettyPrinter::VisitCall(Call* node) {
357 void PrettyPrinter::VisitCallNew(CallNew* node) {
365 void PrettyPrinter::VisitCallRuntime(CallRuntime* node) {
372 void PrettyPrinter::VisitUnaryOperation(UnaryOperation* node) {
379 void PrettyPrinter::VisitCountOperation(CountOperation* node) {
388 void PrettyPrinter::VisitBinaryOperation(BinaryOperation* node) {
397 void PrettyPrinter::VisitCompareOperation(CompareOperation* node) {
406 void PrettyPrinter::VisitThisFunction(ThisFunction* node) {
411 const char* PrettyPrinter::Print(AstNode* node) {
418 const char* PrettyPrinter::PrintExpression(FunctionLiteral* program) {
427 const char* PrettyPrinter::PrintProgram(FunctionLiteral* program) {
435 void PrettyPrinter::PrintOut(AstNode* node) {
436 PrettyPrinter printer;
441 void PrettyPrinter::Init() {
453 void PrettyPrinter::Print(const char* format, ...) {
480 void PrettyPrinter::PrintStatements(ZoneList<Statement*>* statements) {
488 void PrettyPrinter::PrintLabels(ZoneStringList* labels) {
498 void PrettyPrinter::PrintArguments(ZoneList<Expression*>* arguments) {
508 void PrettyPrinter::PrintLiteral(Handle<Object> value, bool quote) {
546 void PrettyPrinter::PrintParameters(Scope* scope) {
556 void PrettyPrinter::PrintDeclarations(ZoneList<Declaration*>* declarations) {
564 void PrettyPrinter::PrintFunctionLiteral(FunctionLiteral* function) {
575 void PrettyPrinter::PrintCaseClause(CaseClause* clause) {