(self, ignore_whitespace=True)
return None
Returns the first child token.

        If *ignore_whitespace* is ``True`` (the default), whitespace
        tokens are ignored.
Returns the first child token.
Returns the first child token .
def token_first(self, ignore_whitespace=True):
        """Returns the first child token.

        If *ignore_whitespace* is ``True`` (the default), whitespace
        tokens are ignored.
        """
        for token in self.tokens:
            if ignore_whitespace and token.is_whitespace():
                continue
            return token
        return None
def token_first ( self , ignore_whitespace = True ) : for token in self . tokens : if ignore_whitespace and token . is_whitespace ( ) : continue return token return None