Interface Parameter

All Superinterfaces:
AnyParameter, Tree
All Known Implementing Classes:
ParameterImpl

public interface Parameter extends AnyParameter
   name() typeAnnotation() = defaultValue()
 
or
   starToken() name()
 
See https://docs.python.org/3/reference/compound_stmts.html#grammar-token-parameter
  • Method Details

    • starToken

      @CheckForNull Token starToken()
      Represents both '*' and '**'
    • name

      @CheckForNull Name name()
    • typeAnnotation

      @CheckForNull TypeAnnotation typeAnnotation()
    • equalToken

      @CheckForNull Token equalToken()
    • defaultValue

      @CheckForNull Expression defaultValue()