Class Attribute
- java.lang.Object
-
- io.github.danielnaczo.python3parser.model.stmts.Statement
-
- io.github.danielnaczo.python3parser.model.expr.Expression
-
- io.github.danielnaczo.python3parser.model.expr.atoms.trailers.Attribute
-
- All Implemented Interfaces:
AST
public class Attribute extends Expression
-
-
Constructor Summary
Constructors Constructor Description Attribute(Identifier attr)
-
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)IdentifiergetAttr()intgetPrecedence()inthashCode()voidsetAttr(Identifier attr)-
Methods inherited from class io.github.danielnaczo.python3parser.model.expr.Expression
getParent, setParent
-
-
-
-
Constructor Detail
-
Attribute
public Attribute(Identifier attr)
-
-
Method Detail
-
getPrecedence
public int getPrecedence()
- Specified by:
getPrecedencein classExpression
-
getAttr
public Identifier getAttr()
-
setAttr
public void setAttr(Identifier attr)
-
accept
public <R,P> R accept(Python3ASTVisitor<R,P> visitor, P param)
- Specified by:
acceptin interfaceAST- Overrides:
acceptin classExpression
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-