1 #ifndef MSP_GL_SL_REFLECT_H_
2 #define MSP_GL_SL_REFLECT_H_
10 /** Determines the number of interface locations required by a variable. */
11 class LocationCounter: private NodeVisitor
19 unsigned apply(VariableDeclaration &v) { v.visit(*this); return r_count; }
22 virtual void visit(BasicTypeDeclaration &);
23 virtual void visit(ImageTypeDeclaration &);
24 virtual void visit(StructDeclaration &);
25 virtual void visit(VariableDeclaration &);