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 Expressionleftprivate ExpressionFactory.BinaryOperatoropprivate Expressionrightprivate Typetype
-
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 voidaccept(Visitor visitor)Accept the visitor and allow it to perform actions on this Node.Expressionleft()ExpressionFactory.BinaryOperatoroperator()Expressionright()java.lang.StringtoString()Typetype()-
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:NodeAccept the visitor and allow it to perform actions on this Node.- Specified by:
acceptin interfaceNode- Specified by:
acceptin classExpressionFactory.ExpressionBase
-
-