Interface Decorator
-
- All Superinterfaces:
Tree
- All Known Implementing Classes:
DecoratorImpl
public interface Decorator extends Tree
Example:@name()(arguments())@foo.bar()
See https://docs.python.org/3/reference/compound_stmts.html#grammar-token-decorators
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ArgListarguments()TokenatToken()Expressionexpression()TokenleftPar()Deprecated.DottedNamename()Deprecated.TokenrightPar()Deprecated.
-
-
-
Method Detail
-
atToken
Token atToken()
-
expression
Expression expression()
-
name
@Deprecated DottedName name()
Deprecated.Might return a DottedName containing an empty list of names when the expression is more complex than a qualified name or a call expression (possible since Python 3.9)
-
leftPar
@CheckForNull @Deprecated Token leftPar()
Deprecated.
-
arguments
@CheckForNull ArgList arguments()
-
rightPar
@CheckForNull @Deprecated Token rightPar()
Deprecated.
-
-