code: function getStarToken(node) {
              return sourceCode.getFirstToken(
                  (node.parent.method || node.parent.type === "MethodDefinition") ? node.parent : node,
                  isStarToken
              );
          }
docs: Gets the generator star token of the given function node.
  
  @param {ASTNode} node - The function node to get.
  @returns {Token} Found star token.