LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.variable.IVariableEvaluate Interface Reference

interface for evaluate variables More...

+ Inheritance diagram for org.lightjason.agentspeak.language.variable.IVariableEvaluate:
+ Collaboration diagram for org.lightjason.agentspeak.language.variable.IVariableEvaluate:

Public Member Functions

ILiteral evaluate (final IContext p_context)
 evaluates the content of the variable More...
 
boolean mutex ()
 returns mutex flag More...
 
Stream< IVariable<?> > variables ()
 returns a stream with all used variables More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.ITerm
IPath fqnfunctor ()
 returns the full-qualified functor with path and name More...
 
String functor ()
 returns the functor without path More...
 
IPath functorpath ()
 returns the path of the functor More...
 
boolean hasVariable ()
 checks if the literal has variables More...
 
< T > T raw ()
 cast to any raw value type More...
 
default< T extends ITerm > T term ()
 casts the object to a term-type More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.IStructureHash
int structurehash ()
 returns a hash value which defines a hash ove rthe structure More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.IDeepCopy< ITerm >
deepcopy (@Nullable final IPath... p_prefix)
 clones the object (shallow-copy) More...
 
deepcopysuffix ()
 clones the object (shallow-copy) without full-qualified path, only suffix is used More...
 

Additional Inherited Members

- Public Attributes inherited from org.lightjason.agentspeak.language.ITerm
ITerm EMPTY
 empty term More...
 
long serialVersionUID = -3640918490398129717L
 serial id More...
 
- Public Attributes inherited from org.lightjason.agentspeak.language.IStructureHash
Comparator< IStructureHashCOMPARATOR = Comparator.comparingInt( IStructureHash::structurehash )
 comparator More...
 

Detailed Description

Definition at line 37 of file IVariableEvaluate.java.

Member Function Documentation

◆ evaluate()

ILiteral org.lightjason.agentspeak.language.variable.IVariableEvaluate.evaluate ( final IContext  p_context)
Parameters
p_contextexecution context
Returns
unified literal

Implemented in org.lightjason.agentspeak.language.variable.CVariableEvaluate.

◆ mutex()

boolean org.lightjason.agentspeak.language.variable.IVariableEvaluate.mutex ( )

◆ variables()

Stream<IVariable<?> > org.lightjason.agentspeak.language.variable.IVariableEvaluate.variables ( )
Returns
variable stream (variables will be cloned on instantiation)

Implemented in org.lightjason.agentspeak.language.variable.CVariableEvaluate.