OpenShot Library | OpenShotAudio 0.2.2
juce::Expression::Helpers::SymbolTerm Class Reference
+ Inheritance diagram for juce::Expression::Helpers::SymbolTerm:

Public Member Functions

 SymbolTerm (const String &sym)
 
TermPtr resolve (const Scope &scope, int recursionDepth)
 
Type getType () const noexcept
 
Termclone () const
 
String toString () const
 
String getName () const
 
void visitAllSymbols (SymbolVisitor &visitor, const Scope &scope, int recursionDepth)
 
void renameSymbol (const Symbol &oldSymbol, const String &newName, const Scope &scope, int)
 
- Public Member Functions inherited from juce::Expression::Term
virtual Type getType () const noexcept=0
 
virtual Termclone () const =0
 
virtual ReferenceCountedObjectPtr< Termresolve (const Scope &, int recursionDepth)=0
 
virtual String toString () const =0
 
virtual double toDouble () const
 
virtual int getInputIndexFor (const Term *) const
 
virtual int getOperatorPrecedence () const
 
virtual int getNumInputs () const
 
virtual TermgetInput (int) const
 
virtual ReferenceCountedObjectPtr< Termnegated ()
 
virtual ReferenceCountedObjectPtr< TermcreateTermToEvaluateInput (const Scope &, const Term *, double, Term *) const
 
virtual String getName () const
 
virtual void renameSymbol (const Symbol &oldSymbol, const String &newName, const Scope &scope, int recursionDepth)
 
virtual void visitAllSymbols (SymbolVisitor &visitor, const Scope &scope, int recursionDepth)
 
- Public Member Functions inherited from juce::SingleThreadedReferenceCountedObject
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. More...
 

Public Attributes

String symbol
 

Additional Inherited Members

- Protected Member Functions inherited from juce::SingleThreadedReferenceCountedObject
 SingleThreadedReferenceCountedObject ()=default
 Creates the reference-counted object (with an initial ref count of zero).
 
 SingleThreadedReferenceCountedObject (const SingleThreadedReferenceCountedObject &)
 Copying from another object does not affect this one's reference-count. More...
 
 SingleThreadedReferenceCountedObject (SingleThreadedReferenceCountedObject &&)
 Copying from another object does not affect this one's reference-count. More...
 
SingleThreadedReferenceCountedObjectoperator= (const SingleThreadedReferenceCountedObject &)
 Copying from another object does not affect this one's reference-count. More...
 
SingleThreadedReferenceCountedObjectoperator= (SingleThreadedReferenceCountedObject &&)
 Copying from another object does not affect this one's reference-count. More...
 
virtual ~SingleThreadedReferenceCountedObject ()
 Destructor. More...
 

Detailed Description

Definition at line 196 of file juce_Expression.cpp.

Constructor & Destructor Documentation

◆ SymbolTerm()

juce::Expression::Helpers::SymbolTerm::SymbolTerm ( const String sym)
inlineexplicit

Definition at line 199 of file juce_Expression.cpp.

Member Function Documentation

◆ resolve()

TermPtr juce::Expression::Helpers::SymbolTerm::resolve ( const Scope scope,
int  recursionDepth 
)
inlinevirtual

Implements juce::Expression::Term.

Definition at line 201 of file juce_Expression.cpp.

◆ getType()

Type juce::Expression::Helpers::SymbolTerm::getType ( ) const
inlinevirtualnoexcept

Implements juce::Expression::Term.

Definition at line 207 of file juce_Expression.cpp.

◆ clone()

Term * juce::Expression::Helpers::SymbolTerm::clone ( ) const
inlinevirtual

Implements juce::Expression::Term.

Definition at line 208 of file juce_Expression.cpp.

◆ toString()

String juce::Expression::Helpers::SymbolTerm::toString ( ) const
inlinevirtual

Implements juce::Expression::Term.

Definition at line 209 of file juce_Expression.cpp.

◆ getName()

String juce::Expression::Helpers::SymbolTerm::getName ( ) const
inlinevirtual

Reimplemented from juce::Expression::Term.

Definition at line 210 of file juce_Expression.cpp.

◆ visitAllSymbols()

void juce::Expression::Helpers::SymbolTerm::visitAllSymbols ( SymbolVisitor visitor,
const Scope scope,
int  recursionDepth 
)
inlinevirtual

Reimplemented from juce::Expression::Term.

Definition at line 212 of file juce_Expression.cpp.

◆ renameSymbol()

void juce::Expression::Helpers::SymbolTerm::renameSymbol ( const Symbol oldSymbol,
const String newName,
const Scope scope,
int   
)
inlinevirtual

Reimplemented from juce::Expression::Term.

Definition at line 219 of file juce_Expression.cpp.

Member Data Documentation

◆ symbol

String juce::Expression::Helpers::SymbolTerm::symbol

Definition at line 225 of file juce_Expression.cpp.


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