LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.execution.expression.EOperator Enum Reference

expression operator More...

+ Collaboration diagram for org.lightjason.agentspeak.language.execution.expression.EOperator:

Public Member Functions

 EOperator (final String p_name)
 ctor More...
 
final boolean isAdditive ()
 check of a additive operator More...
 
final boolean isBinary ()
 check of a binary operator More...
 
final boolean isComparable ()
 check of a comparable operator More...
 
final boolean isLogical ()
 check of a logical operator More...
 
final boolean isMultiplicative ()
 check of a multiplicative operator More...
 
final boolean isNumerical ()
 check of a numeric operator More...
 
final boolean isPower ()
 check of a power operator More...
 
final boolean isRelational ()
 check of a relational operator More...
 
final boolean isUnary ()
 check of a unary operator More...
 
final String toString ()
 

Public Attributes

 AND =( "&&" )
 
 DIVIDE =( "/" )
 
 EQUAL =( "==" )
 
 GREATER =( ">" )
 
 GREATEREQUAL =( ">=" )
 
 LESS =( "<" )
 
 LESSEQUAL =( "<=" )
 
 MINUS =( "-" )
 
 MODULO =( "%" )
 
 MULTIPLY =( "*" )
 
 NEGATION =( "~" )
 
 NOTEQUAL =( "\\==" )
 
 OR =( "||" )
 
 PLUS =( "+" )
 
 POWER =( "**" )
 
 XOR =( "^" )
 

Private Attributes

final String m_name
 text name of the enum More...
 

Detailed Description

Definition at line 30 of file EOperator.java.

Constructor & Destructor Documentation

◆ EOperator()

org.lightjason.agentspeak.language.execution.expression.EOperator.EOperator ( final String  p_name)
Parameters
p_nametext name

Definition at line 66 of file EOperator.java.

Member Function Documentation

◆ isAdditive()

final boolean org.lightjason.agentspeak.language.execution.expression.EOperator.isAdditive ( )
Returns
boolean for additive operator

Definition at line 122 of file EOperator.java.

Referenced by org.lightjason.agentspeak.language.execution.expression.numerical.CAdditive.CAdditive().

+ Here is the caller graph for this function:

◆ isBinary()

final boolean org.lightjason.agentspeak.language.execution.expression.EOperator.isBinary ( )
Returns
boolean of binary flag

Definition at line 152 of file EOperator.java.

◆ isComparable()

final boolean org.lightjason.agentspeak.language.execution.expression.EOperator.isComparable ( )
Returns
boolean for comparable operator

Definition at line 102 of file EOperator.java.

Referenced by org.lightjason.agentspeak.language.execution.expression.numerical.CComparable.CComparable().

+ Here is the caller graph for this function:

◆ isLogical()

final boolean org.lightjason.agentspeak.language.execution.expression.EOperator.isLogical ( )
Returns
boolean for logical operator

Definition at line 82 of file EOperator.java.

Referenced by org.lightjason.agentspeak.language.execution.expression.logical.CBinary.CBinary(), and org.lightjason.agentspeak.language.execution.expression.logical.CUnary.CUnary().

+ Here is the caller graph for this function:

◆ isMultiplicative()

final boolean org.lightjason.agentspeak.language.execution.expression.EOperator.isMultiplicative ( )
Returns
boolean for multiplicative operator

Definition at line 132 of file EOperator.java.

Referenced by org.lightjason.agentspeak.language.execution.expression.numerical.CMultiplicative.CMultiplicative().

+ Here is the caller graph for this function:

◆ isNumerical()

final boolean org.lightjason.agentspeak.language.execution.expression.EOperator.isNumerical ( )
Returns
boolean for numeric operator

Definition at line 92 of file EOperator.java.

◆ isPower()

final boolean org.lightjason.agentspeak.language.execution.expression.EOperator.isPower ( )
Returns
boolean for power operator

Definition at line 142 of file EOperator.java.

Referenced by org.lightjason.agentspeak.language.execution.expression.numerical.CPower.CPower().

+ Here is the caller graph for this function:

◆ isRelational()

final boolean org.lightjason.agentspeak.language.execution.expression.EOperator.isRelational ( )
Returns
boolean for relational operator

Definition at line 112 of file EOperator.java.

Referenced by org.lightjason.agentspeak.language.execution.expression.numerical.CRelational.CRelational().

+ Here is the caller graph for this function:

◆ isUnary()

final boolean org.lightjason.agentspeak.language.execution.expression.EOperator.isUnary ( )
Returns
boolean of unary operator

Definition at line 162 of file EOperator.java.

◆ toString()

final String org.lightjason.agentspeak.language.execution.expression.EOperator.toString ( )

Definition at line 72 of file EOperator.java.

Member Data Documentation

◆ AND

◆ DIVIDE

◆ EQUAL

◆ GREATER

◆ GREATEREQUAL

◆ LESS

◆ LESSEQUAL

◆ m_name

final String org.lightjason.agentspeak.language.execution.expression.EOperator.m_name
private

Definition at line 59 of file EOperator.java.

◆ MINUS

◆ MODULO

◆ MULTIPLY

◆ NEGATION

◆ NOTEQUAL

◆ OR

◆ PLUS

◆ POWER

◆ XOR