v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
builtins-console.cc File Reference
Include dependency graph for builtins-console.cc:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define CONSOLE_METHOD_LIST(V)
 
#define CONSOLE_METHOD_WITH_FORMATTER_LIST(V)
 
#define CONSOLE_BUILTIN_IMPLEMENTATION(call, name)
 
#define CONSOLE_BUILTIN_IMPLEMENTATION(call, name, index)
 
#define CONSOLE_BUILTIN_SETUP(call, name, ...)
 

Functions

 v8::internal::BUILTIN (ConsoleTime)
 
 v8::internal::BUILTIN (ConsoleTimeEnd)
 
 v8::internal::BUILTIN (ConsoleTimeLog)
 
 v8::internal::BUILTIN (ConsoleTimeStamp)
 
 v8::internal::BUILTIN (ConsoleContext)
 

Macro Definition Documentation

◆ CONSOLE_BUILTIN_IMPLEMENTATION [1/2]

#define CONSOLE_BUILTIN_IMPLEMENTATION ( call,
name )
Value:
BUILTIN(Console##call) { \
ConsoleCall(isolate, args, &debug::ConsoleDelegate::call); \
RETURN_FAILURE_IF_EXCEPTION(isolate); \
return ReadOnlyRoots(isolate).undefined_value(); \
}
#define BUILTIN(name)
base::Vector< const DirectHandle< Object > > args
Definition execution.cc:74

Definition at line 190 of file builtins-console.cc.

◆ CONSOLE_BUILTIN_IMPLEMENTATION [2/2]

#define CONSOLE_BUILTIN_IMPLEMENTATION ( call,
name,
index )
Value:
BUILTIN(Console##call) { \
if (!Formatter(isolate, args, index)) { \
return ReadOnlyRoots(isolate).exception(); \
} \
ConsoleCall(isolate, args, &debug::ConsoleDelegate::call); \
RETURN_FAILURE_IF_EXCEPTION(isolate); \
return ReadOnlyRoots(isolate).undefined_value(); \
}

Definition at line 190 of file builtins-console.cc.

◆ CONSOLE_BUILTIN_SETUP

#define CONSOLE_BUILTIN_SETUP ( call,
name,
... )
Value:
InstallContextFunction(isolate, console_context, #name, \
Builtin::kConsole##call, context);

◆ CONSOLE_METHOD_LIST

#define CONSOLE_METHOD_LIST ( V)
Value:
V(Dir, dir) \
V(DirXml, dirXml) \
V(Table, table) \
V(GroupEnd, groupEnd) \
V(Clear, clear) \
V(Count, count) \
V(CountReset, countReset) \
V(Profile, profile) \
V(ProfileEnd, profileEnd)
#define V(Name)

Definition at line 21 of file builtins-console.cc.

◆ CONSOLE_METHOD_WITH_FORMATTER_LIST

#define CONSOLE_METHOD_WITH_FORMATTER_LIST ( V)
Value:
V(Debug, debug, 1) \
V(Error, error, 1) \
V(Info, info, 1) \
V(Log, log, 1) \
V(Warn, warn, 1) \
V(Trace, trace, 1) \
V(Group, group, 1) \
V(GroupCollapsed, groupCollapsed, 1) \
V(Assert, assert, 2)
#define Assert(condition)

Definition at line 32 of file builtins-console.cc.