Om
atom.hpp
Go to the documentation of this file.
1 
15 #ifndef Om_Language_Atom_
16 
17  #define Om_Language_Atom_ \
18  Om::Language::Atom
19 
20  #include "om/language/element.hpp"
21 
22 namespace Om {
23 
24  namespace Language {
25 
26  // MARK: - Om::Language::Atom
27 
32  class Atom:
33  public Element {
34 
35  public: // MARK: public (non-static)
36 
37  virtual Program & operator *();
38 
39  virtual Program const & operator *() const;
40 
41  private: // MARK: private (non-static)
42 
43  Atom & operator =(Atom const &);
44 
45  };
46 
47  // MARK: - Om::Language::
48 
55  Atom * new_clone(Atom const &);
56 
57  }
58 
59 }
60 
61  #include "om/language/atom.cpp"
62 
63 #endif
Om source file.
An atomic Element defined by a string.
Definition: atom.hpp:33
virtual Program & operator*()
Atom & operator=(Atom const &)
A Program that contains a single elemental item (or none, when IsEmpty() returns true).
Definition: element.hpp:33
The Program implementation.
Definition: program.hpp:62
Om header file.
Atom * new_clone(Atom const &)
The Om library.
Definition: code_point.hpp:26