Class Index
- java.lang.Object
-
- io.github.danielnaczo.python3parser.model.expr.atoms.trailers.subscripts.slices.SliceAbstract
-
- io.github.danielnaczo.python3parser.model.expr.atoms.trailers.subscripts.Index
-
- All Implemented Interfaces:
AST
public class Index extends SliceAbstract
-
-
Constructor Summary
Constructors Constructor Description Index(Expression value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(Python3ASTVisitor<R,P> visitor, P param)booleanequals(java.lang.Object o)intgetPrecedence()ExpressiongetValue()inthashCode()voidsetValue(Expression value)
-
-
-
Constructor Detail
-
Index
public Index(Expression value)
-
-
Method Detail
-
getPrecedence
public int getPrecedence()
-
getValue
public Expression getValue()
-
setValue
public void setValue(Expression value)
-
accept
public <R,P> R accept(Python3ASTVisitor<R,P> visitor, P param)
- Specified by:
acceptin interfaceAST- Overrides:
acceptin classSliceAbstract
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-