//
// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
//
// The contents of this file are covered under the licence agreement in the
// file "LICENCE" distributed with Cforall.
//
// BaseSyntaxNode.h --
//
// Author           : Thierry Delisle
// Created On       : Tue Feb 14 07:44:20 2017
// Last Modified By :
// Last Modified On :
// Update Count     :
//

#ifndef BASE_SYNTAX_NODE_H
#define BASE_SYNTAX_NODE_H

#include "Common/utility.h"
#include "Visitor.h"

class BaseSyntaxNode {
  public:
	CodeLocation location;

	virtual void accept( Visitor & v ) = 0; // temporary -- needs to be here so that BaseSyntaxNode is polymorphic and can be dynamic_cast
};

#endif // BASE_SYNTAX_NODE_H

// Local Variables: //
// tab-width: 4 //
// mode: c++ //
// compile-command: "make install" //
// End: //
