class_docstr: Helper that visits all nodes in the AST tree and assigns .first_token and .last_token attributes
  to each of them. This is the heart of the token-marking logic.
class_docstr_tok: ["Helper","that","visits","all","nodes","in","the","AST","tree","and","assigns",".first_token","and",".last_token","attributes","to","each","of","them",".","This","is","the","heart","of","the","token-marking","logic","."]
code: def _gobble_parens(self, first_token, last_token, include_all=False):
      # type: (util.Token, util.Token, bool) -> Tuple[util.Token, util.Token]
      # Expands a range of tokens to include one or all pairs of surrounding parentheses, and
      # returns (first, last) tokens that include these parens.
      while first_token.index > 0:
          prev = self._code.prev_token(first_token)
          next = self._code.next_token(last_token)
          if util.match_token(prev, token.OP, "(") and util.match_token(
              next, token.OP, ")"
          ):
              first_token, last_token = prev, next
              if include_all:
                  continue
          break
      return (first_token, last_token)
  
imports: import ast
  import numbers
  import sys
  import token
  from ast import Module
  from typing import Callable, List, Union, cast, Optional, Tuple, TYPE_CHECKING
  import six
  from .None import util
  from .asttokens import ASTTokens
  from .util import AstConstant
  from .astroid_compat import astroid_node_classes, BaseContainer
label_desc: Use image node_id 20 for calling the MarkTokens obj's underlying member method code with example usage: obj._gobble_parens(first_token, last_token, include_all) and returns: first_token,  last_token