# File lib/Getopt/Declare.rb, line 201
      def ScalarArg.stdactions(name)
        seen = {}
        actions = []
        while (!seen[name] && @@stdtype[name] && @@stdtype[name]['ind'])
          seen[name] = 1
          if @@stdtype[name]['action']
            actions.push( @@stdtype[name]['action'] )
          end
          name = @@stdtype[name]['pattern']
        end

        if @@stdtype[name] && @@stdtype[name]['action']
          actions.push( @@stdtype[name]['action'] )
        end

        return actions
      end