Interface Parameter
-
- All Superinterfaces:
AnyParameter,Tree
- All Known Implementing Classes:
ParameterImpl
public interface Parameter extends AnyParameter
orname()typeAnnotation()=defaultValue()
See https://docs.python.org/3/reference/compound_stmts.html#grammar-token-parameterstarToken()name()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressiondefaultValue()TokenequalToken()Namename()TokenstarToken()Represents both '*' and '**'TypeAnnotationtypeAnnotation()
-
-
-
Method Detail
-
starToken
@CheckForNull Token starToken()
Represents both '*' and '**'
-
name
@CheckForNull Name name()
-
typeAnnotation
@CheckForNull TypeAnnotation typeAnnotation()
-
equalToken
@CheckForNull Token equalToken()
-
defaultValue
@CheckForNull Expression defaultValue()
-
-