~dominik-burgdoerfer/webplodder/0.4

« back to all changes in this revision

Viewing changes to libwesl/src/wesl/symbols/subroutine.hpp

  • Committer: Dominik Burgdörfer
  • Date: 2010-07-07 15:04:26 UTC
  • Revision ID: dominik@domachine-20100707150426-jmfe298pqpaa997t
sources restructured

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    namespace elements {
31
31
        class Element;
32
32
        typedef boost::shared_ptr<Element> ElementPtr;
 
33
    }
33
34
 
 
35
    namespace symbols {
34
36
        class Subroutine {
35
37
        public:
36
38
            enum Type {
44
46
                    const std::vector<std::string>& argumentNameList);
45
47
 
46
48
        public:
47
 
            virtual void addBodyElement(ElementPtr elementPtr);
 
49
            virtual void addBodyElement(elements::ElementPtr elementPtr);
48
50
            ElementStack& body();
49
51
 
50
52
            Type subroutineType() const;