FUNCTION
};
+ Features features;
ScopeType scope = GLOBAL;
InterfaceLayout *iface_layout = 0;
InterfaceBlock *iface_block = 0;
VariableDeclaration *variable = 0;
public:
- void apply(Stage &s) { stage = &s; s.content.visit(*this); }
+ void apply(Stage &, const Features &);
private:
static const char *describe_variable(ScopeType);
void apply(Stage &s) { stage = &s; s.content.visit(*this); }
private:
- int get_location(const Layout &);
-
virtual void visit(VariableDeclaration &);
virtual void visit(FunctionDeclaration &) { }
};