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 Expression
expr
private Expression
index
-
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 void
accept(Visitor visitor)
Accept the visitor and allow it to perform actions on this Node.Expression
expr()
Expression
index()
boolean
isAssignable()
java.lang.String
toString()
Type
type()
-
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:
isAssignable
in interfaceExpressionInternal
- Overrides:
isAssignable
in classExpressionFactory.ExpressionBase
-
expr
public Expression expr()
-
index
public Expression index()
-
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
-
-