v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
ast-traversal-visitor.h File Reference
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/execution/isolate.h"
Include dependency graph for ast-traversal-visitor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::AstTraversalVisitor< Subclass >
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define DECLARE_VISIT(type)
 
#define PROCESS_NODE(node)
 
#define PROCESS_EXPRESSION(node)
 
#define RECURSE(call)
 
#define RECURSE_EXPRESSION(call)
 

Macro Definition Documentation

◆ DECLARE_VISIT

#define DECLARE_VISIT ( type)
Value:
void Visit##type(type* node);
wasm::ValueType type

Definition at line 50 of file ast-traversal-visitor.h.

◆ PROCESS_EXPRESSION

#define PROCESS_EXPRESSION ( node)
Value:
do { \
PROCESS_NODE(node); \
if (!(this->impl()->VisitExpression(node))) return; \
} while (false)

Definition at line 71 of file ast-traversal-visitor.h.

◆ PROCESS_NODE

#define PROCESS_NODE ( node)
Value:
do { \
if (!(this->impl()->VisitNode(node))) return; \
} while (false)

Definition at line 67 of file ast-traversal-visitor.h.

◆ RECURSE

#define RECURSE ( call)
Value:
do { \
DCHECK(!HasStackOverflow()); \
this->impl()->call; \
if (HasStackOverflow()) return; \
} while (false)

Definition at line 76 of file ast-traversal-visitor.h.

◆ RECURSE_EXPRESSION

#define RECURSE_EXPRESSION ( call)
Value:
do { \
DCHECK(!HasStackOverflow()); \
++depth_; \
this->impl()->call; \
--depth_; \
if (HasStackOverflow()) return; \
} while (false)

Definition at line 83 of file ast-traversal-visitor.h.