Class ExpressionFactory.BinaryOperatorExpression
- java.lang.Object
-
- org.glassfish.pfl.dynamic.codegen.impl.AttributedObjectBase
-
- org.glassfish.pfl.dynamic.codegen.impl.NodeBase
-
- org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.ExpressionBase
-
- org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.BinaryOperatorExpression
-
- All Implemented Interfaces:
AttributedObject
,ExpressionInternal
,Node
,Statement
,Expression
,CopyInterceptor
- Enclosing class:
- ExpressionFactory
public static final class ExpressionFactory.BinaryOperatorExpression extends ExpressionFactory.ExpressionBase
-
-
Field Summary
Fields Modifier and Type Field Description private Expression
left
private ExpressionFactory.BinaryOperator
op
private Expression
right
private Type
type
-
Constructor Summary
Constructors Constructor Description BinaryOperatorExpression(ExpressionFactory ef, Type type, Expression left, ExpressionFactory.BinaryOperator op, Expression right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor visitor)
Accept the visitor and allow it to perform actions on this Node.Expression
left()
ExpressionFactory.BinaryOperator
operator()
Expression
right()
java.lang.String
toString()
Type
type()
-
Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.ExpressionBase
copy, copy, isAssignable
-
Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.NodeBase
getAncestor, id, parent, parent, postCopy, preCopy
-
Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.AttributedObjectBase
attributes, get, set
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.glassfish.pfl.dynamic.codegen.impl.AttributedObject
attributes, get, set
-
Methods inherited from interface org.glassfish.pfl.dynamic.codegen.impl.Node
getAncestor, id, parent, parent
-
-
-
-
Field Detail
-
left
private Expression left
-
op
private ExpressionFactory.BinaryOperator op
-
right
private Expression right
-
type
private Type type
-
-
Constructor Detail
-
BinaryOperatorExpression
BinaryOperatorExpression(ExpressionFactory ef, Type type, Expression left, ExpressionFactory.BinaryOperator op, Expression right)
-
-
Method Detail
-
operator
public ExpressionFactory.BinaryOperator operator()
-
left
public Expression left()
-
right
public Expression right()
-
type
public Type type()
-
accept
public void accept(Visitor visitor)
Description copied from interface:Node
Accept the visitor and allow it to perform actions on this Node.- Specified by:
accept
in interfaceNode
- Specified by:
accept
in classExpressionFactory.ExpressionBase
-
-