Class DictComp
java.lang.Object
io.github.danielnaczo.python3parser.model.stmts.Statement
io.github.danielnaczo.python3parser.model.expr.Expression
io.github.danielnaczo.python3parser.model.expr.comprehensions.DictComp
- All Implemented Interfaces:
AST
-
Constructor Summary
ConstructorsConstructorDescriptionDictComp(Expression key, Expression value, List<Comprehension> comprehensions) -
Method Summary
Modifier and TypeMethodDescription<R,P> R accept(Python3ASTVisitor<R, P> visitor, P param) booleangetKey()intgetValue()inthashCode()voidsetComprehensions(List<Comprehension> comprehensions) voidsetKey(Expression key) voidsetValue(Expression value) Methods inherited from class io.github.danielnaczo.python3parser.model.expr.Expression
getParent, setParent
-
Constructor Details
-
DictComp
-
-
Method Details
-
getPrecedence
public int getPrecedence()- Specified by:
getPrecedencein classExpression
-
getKey
-
setKey
-
getValue
-
setValue
-
getComprehensions
-
setComprehensions
-
accept
- Specified by:
acceptin interfaceAST- Overrides:
acceptin classExpression
-
equals
-
hashCode
public int hashCode()
-