(self, node, tok)
return spaces + self._name_factory.get_short_name(tok.code)
Gets the minified name for a TokName.

        Args:
          node: The Node containing the name.
          tok: The TokName token from the AST.

        Returns:
          The text for the name.
Gets the minified name for a TokName.
Gets the minified name for a TokName .
def _get_name(self, node, tok):
        """Gets the minified name for a TokName.

        Args:
          node: The Node containing the name.
          tok: The TokName token from the AST.

        Returns:
          The text for the name.
        """
        spaces = self._get_code_for_spaces(node)
        assert tok.matches(lexer.TokName)
        self._pos += 1
        return spaces + self._name_factory.get_short_name(tok.code)
def _get_name ( self , node , tok ) : spaces = self . _get_code_for_spaces ( node ) assert tok . matches ( lexer . TokName ) self . _pos += 1 return spaces + self . _name_factory . get_short_name ( tok . code )