Class ExpressionFactory.ArrayIndexExpression
- 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.ArrayIndexExpression
-
- All Implemented Interfaces:
AttributedObject,ExpressionInternal,Node,Statement,Expression,CopyInterceptor
- Enclosing class:
- ExpressionFactory
public static final class ExpressionFactory.ArrayIndexExpression extends ExpressionFactory.ExpressionBase
-
-
Field Summary
Fields Modifier and Type Field Description private Expressionexprprivate Expressionindex
-
Constructor Summary
Constructors Constructor Description ArrayIndexExpression(ExpressionFactory ef, Expression expr, Expression index)
-
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.Expressionexpr()Expressionindex()booleanisAssignable()java.lang.StringtoString()Typetype()-
Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.ExpressionBase
copy, copy
-
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
-
expr
private Expression expr
-
index
private Expression index
-
-
Constructor Detail
-
ArrayIndexExpression
ArrayIndexExpression(ExpressionFactory ef, Expression expr, Expression index)
-
-
Method Detail
-
isAssignable
public boolean isAssignable()
- Specified by:
isAssignablein interfaceExpressionInternal- Overrides:
isAssignablein classExpressionFactory.ExpressionBase
-
expr
public Expression expr()
-
index
public Expression index()
-
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
-
-