Class AstWalkerFactory

Index

Methods

Methods

public simpleWalk(ast: AST, pre: (ast: TypeScript.AST, state: any) => void, post?: (ast: TypeScript.AST, state: any) => void, state?: any)

Parameters

  • ast: AST
  • pre: (ast: TypeScript.AST, state: any) => void
  • post?: (ast: TypeScript.AST, state: any) => void optional
  • state?: any optional

public walk(ast: AST, pre: (ast: TypeScript.AST, walker: TypeScript.IAstWalker) => void, post?: (ast: TypeScript.AST, walker: TypeScript.IAstWalker) => void, state?: any)

Parameters

  • ast: AST
  • pre: (ast: TypeScript.AST, walker: TypeScript.IAstWalker) => void
  • post?: (ast: TypeScript.AST, walker: TypeScript.IAstWalker) => void optional
  • state?: any optional