Interface WithStatement

All Superinterfaces:
Statement, Tree
All Known Implementing Classes:
WithStatementImpl

public interface WithStatement extends Statement
   with withItems()
     statements()
 
See https://docs.python.org/3/reference/compound_stmts.html#grammar-token-with-stmt
  • Method Details

    • withKeyword

      Token withKeyword()
    • withItems

      List<WithItem> withItems()
    • colon

      Token colon()
    • statements

      StatementList statements()
    • isAsync

      boolean isAsync()
    • asyncKeyword

      @CheckForNull Token asyncKeyword()