LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.grammar.CCommon Class Reference

common parser components More...

+ Collaboration diagram for org.lightjason.agentspeak.grammar.CCommon:

Static Package Functions

static IExpression createLogicalBinaryExpression ( @Nonnull final EOperator p_operator, @Nonnull final IExpression p_lefthandside, @Nonnull final Collection< IExpression > p_righthandside)
 creates a logical expression concationation with single operator More...
 

Static Package Attributes

static final Map< String, Double > NUMERICCONSTANT
 numeric constant values - infinity is defined manually More...
 

Private Member Functions

 CCommon ()
 ctor More...
 

Detailed Description

Definition at line 45 of file grammar/CCommon.java.

Constructor & Destructor Documentation

◆ CCommon()

org.lightjason.agentspeak.grammar.CCommon.CCommon ( )
private

Definition at line 94 of file grammar/CCommon.java.

Member Function Documentation

◆ createLogicalBinaryExpression()

static IExpression org.lightjason.agentspeak.grammar.CCommon.createLogicalBinaryExpression ( @Nonnull final EOperator  p_operator,
@Nonnull final IExpression  p_lefthandside,
@Nonnull final Collection< IExpression p_righthandside 
)
staticpackage
Parameters
p_operatoroperator
p_lefthandsideleft-hand-side expression
p_righthandsideright-hand-side expressions
Returns
concat expression

Definition at line 106 of file grammar/CCommon.java.

References org.lightjason.agentspeak.common.CCommon.languagestring().

Referenced by org.lightjason.agentspeak.grammar.CASTVisitorPlanBundle.visitExpression(), org.lightjason.agentspeak.grammar.CASTVisitorAgent.visitExpression(), org.lightjason.agentspeak.grammar.CASTVisitorPlanBundle.visitExpression_logical_and(), org.lightjason.agentspeak.grammar.CASTVisitorAgent.visitExpression_logical_and(), org.lightjason.agentspeak.grammar.CASTVisitorPlanBundle.visitExpression_logical_xor(), and org.lightjason.agentspeak.grammar.CASTVisitorAgent.visitExpression_logical_xor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ NUMERICCONSTANT

final Map<String, Double> org.lightjason.agentspeak.grammar.CCommon.NUMERICCONSTANT
staticpackage