API reference

python:astx:astx.ParenthesizedExpr

class ParenthesizedExpr

ParenthesizedExpr(value: Expr, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)

Source: packages/astx/src/astx/base.py:758

Declared as: python:astx:astx.base.ParenthesizedExpr

AST class for explicitly grouped expressions (parentheses retained).

Attributes

Methods

Attributes

Search documentation

Type to search.