74 var evaluate (
const String& javascriptCode,
75 Result* errorMessage =
nullptr);
83 Result* errorMessage =
nullptr);
90 const var& functionObject,
92 Result* errorMessage =
nullptr);
109 void stop() noexcept;
112 const
NamedValueSet& getRootObjectProperties() const noexcept;
117 void prepareTimeout() const noexcept;
Represents a dynamically implemented object.
Represents a string identifier, designed for accessing properties by name.
A simple javascript interpreter!
RelativeTime maximumExecutionTime
This value indicates how long a call to one of the evaluate methods is permitted to run before timing...
Holds a set of named var objects.
A smart-pointer class which points to a reference-counted object.
A relative measure of time.
Represents the 'success' or 'failure' of an operation, and holds an associated error message to descr...
A variant class, that can be used to hold a range of primitive values.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
This structure is passed to a NativeFunction callback, and contains invocation details about the func...