polyglot.ast
Interface ArrayAccess
- All Superinterfaces:
- java.lang.Cloneable, Copy, Expr, JL, Node, NodeOps, Prefix, Receiver, Term, Typed, Variable
- All Known Implementing Classes:
- ArrayAccess_c
public interface ArrayAccess
- extends Variable
An ArrayAccess
is an immutable representation of an
access of an array member.
Methods inherited from interface polyglot.ast.Node |
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList |
Methods inherited from interface polyglot.ast.JL |
init, node |
Methods inherited from interface polyglot.ast.NodeOps |
addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren |
Methods inherited from interface polyglot.util.Copy |
copy |
Methods inherited from interface polyglot.ast.Typed |
type |
array
Expr array()
- Array to access.
array
ArrayAccess array(Expr array)
- Set the array to access.
index
Expr index()
- Index into the array.
index
ArrayAccess index(Expr index)
- Set the index into the array.