## Class frame

hamigaki::bjam::frame —

## Synopsis

    class frame {
    public:
      // construct/copy/destruct
      frame(module&);
      frame(module&, const boost::optional<std::string>&);

      // module functions
      void change_module(module&, const boost::optional<std::string>&);
      module& current_module();
      const module& current_module() const;
      const boost::optional<std::string>& module_name() const;

      // rule functions
      const boost::optional<std::string>& rule_name() const;
      void rule_name(const boost::optional<std::string>&);
      list_of_list& arguments();

      // position functions
      const std::string& filename() const;
      void filename(const std::string&);
      void swap_filename(std::string&);
      int line() const;
      void line(int);
    };

## Description

### `frame` construct/copy/destruct

1.     frame(module& m);

2.     frame(module& m, const boost::optional<std::string>& name);

### `frame` module functions

1.     void change_module(module& m, const boost::optional<std::string>& name);

2.     module& current_module();

3.     const module& current_module() const;

4.     const boost::optional<std::string>& module_name() const;

### `frame` rule functions

1.     const boost::optional<std::string>& rule_name() const;

2.     void rule_name(const boost::optional<std::string>& name);

3.     list_of_list& arguments();

### `frame` position functions

1.     const std::string& filename() const;

2.     void filename(const std::string& name);

3.     void swap_filename(std::string& name);

4.     int line() const;

5.     void line(int n);

| 製作著作 © 2007 Takeshi Mouri