ext/include/iv/ast_visitor.h in iv-phonic-0.1.0 vs ext/include/iv/ast_visitor.h in iv-phonic-0.1.1
- old
+ new
@@ -79,9 +79,12 @@
virtual void Visit(typename add<IdentifierAccess<Factory> >::type prop) = 0; //NOLINT
virtual void Visit(typename add<IndexAccess<Factory> >::type prop) = 0; //NOLINT
virtual void Visit(typename add<FunctionCall<Factory> >::type call) = 0; //NOLINT
virtual void Visit(typename add<ConstructorCall<Factory> >::type call) = 0; //NOLINT
+
+ virtual void Visit(typename add<Declaration<Factory> >::type func) = 0; //NOLINT
+ virtual void Visit(typename add<CaseClause<Factory> >::type func) = 0; //NOLINT
protected:
template<typename T>
class Acceptor {
public:
explicit Acceptor(T* visitor) : visitor_(visitor) { }