OpenShot Library | OpenShotAudio  0.2.2
juce::JavascriptEngine::RootObject Struct Reference
+ Inheritance diagram for juce::JavascriptEngine::RootObject:

Classes

struct  AdditionOp
 
struct  ArrayClass
 
struct  ArrayDeclaration
 
struct  ArraySubscript
 
struct  Assignment
 
struct  BinaryOperator
 
struct  BinaryOperatorBase
 
struct  BitwiseAndOp
 
struct  BitwiseOrOp
 
struct  BitwiseXorOp
 
struct  BlockStatement
 
struct  BreakStatement
 
struct  CodeLocation
 
struct  ConditionalOp
 
struct  ContinueStatement
 
struct  DivideOp
 
struct  DotOperator
 
struct  EqualsOp
 
struct  Expression
 
struct  ExpressionTreeBuilder
 
struct  FunctionCall
 
struct  FunctionObject
 
struct  GreaterThanOp
 
struct  GreaterThanOrEqualOp
 
struct  IfStatement
 
struct  IntegerClass
 
struct  JSONClass
 
struct  LeftShiftOp
 
struct  LessThanOp
 
struct  LessThanOrEqualOp
 
struct  LiteralValue
 
struct  LogicalAndOp
 
struct  LogicalOrOp
 
struct  LoopStatement
 
struct  MathClass
 
struct  ModuloOp
 
struct  MultiplyOp
 
struct  NewOperator
 
struct  NotEqualsOp
 
struct  ObjectClass
 
struct  ObjectDeclaration
 
struct  PostAssignment
 
struct  ReturnStatement
 
struct  RightShiftOp
 
struct  RightShiftUnsignedOp
 
struct  Scope
 
struct  SelfAssignment
 
struct  Statement
 
struct  StringClass
 
struct  SubtractionOp
 
struct  TokenIterator
 
struct  TypeEqualsOp
 
struct  TypeNotEqualsOp
 
struct  UnqualifiedName
 
struct  VarStatement
 

Public Types

using Args = const var::NativeFunctionArgs &
 
using TokenType = const char *
 
using ExpPtr = std::unique_ptr< Expression >
 
- Public Types inherited from juce::DynamicObject
using Ptr = ReferenceCountedObjectPtr< DynamicObject >
 

Public Member Functions

void execute (const String &code)
 
var evaluate (const String &code)
 
- Public Member Functions inherited from juce::DynamicObject
 DynamicObject (const DynamicObject &)
 
virtual bool hasProperty (const Identifier &propertyName) const
 Returns true if the object has a property with this name. More...
 
virtual const vargetProperty (const Identifier &propertyName) const
 Returns a named property. More...
 
virtual void setProperty (const Identifier &propertyName, const var &newValue)
 Sets a named property.
 
virtual void removeProperty (const Identifier &propertyName)
 Removes a named property.
 
virtual bool hasMethod (const Identifier &methodName) const
 Checks whether this object has the specified method. More...
 
virtual var invokeMethod (Identifier methodName, const var::NativeFunctionArgs &args)
 Invokes a named method on this object. More...
 
void setMethod (Identifier methodName, var::NativeFunction function)
 Adds a method to the class. More...
 
void clear ()
 Removes all properties and methods from the object.
 
NamedValueSetgetProperties () noexcept
 Returns the NamedValueSet that holds the object's properties.
 
void cloneAllProperties ()
 Calls var::clone() on all the properties that this object contains.
 
virtual Ptr clone ()
 Returns a clone of this object. More...
 
virtual void writeAsJSON (OutputStream &, int indentLevel, bool allOnOneLine, int maximumDecimalPlaces)
 Writes this object to a text stream in JSON format. More...
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 Increments the object's reference count. More...
 
void decReferenceCount () noexcept
 Decreases the object's reference count. More...
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count. More...
 
int getReferenceCount () const noexcept
 Returns the object's current reference count.
 

Static Public Member Functions

static bool areTypeEqual (const var &a, const var &b)
 
static String getTokenName (TokenType t)
 
static bool isFunction (const var &v) noexcept
 
static bool isNumeric (const var &v) noexcept
 
static bool isNumericOrUndefined (const var &v) noexcept
 
static int64 getOctalValue (const String &s)
 
static Identifier getPrototypeIdentifier ()
 
static vargetPropertyPointer (DynamicObject &o, const Identifier &i) noexcept
 
static var get (Args a, int index) noexcept
 
static bool isInt (Args a, int index) noexcept
 
static int getInt (Args a, int index) noexcept
 
static double getDouble (Args a, int index) noexcept
 
static String getString (Args a, int index) noexcept
 
static var trace (Args a)
 
static var charToInt (Args a)
 
static var parseFloat (Args a)
 
static var typeof_internal (Args a)
 
static var exec (Args a)
 
static var eval (Args a)
 

Public Attributes

Time timeout
 

Additional Inherited Members

- Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()=default
 Creates the reference-counted object (with an initial ref count of zero).
 
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count.
 
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count.
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count.
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count.
 
virtual ~ReferenceCountedObject ()
 Destructor.
 
void resetReferenceCount () noexcept
 Resets the reference count to zero without deleting the object. More...
 

Detailed Description

Definition at line 62 of file juce_Javascript.cpp.


The documentation for this struct was generated from the following file: