| 2 |
|
* Project led by Terence Parr at http://www.jGuru.com |
| 3 |
|
* Software rights: http://www.antlr.org/license.html |
| 4 |
|
* |
| 5 |
< |
* $Id: BaseAST.cpp,v 1.1 2005-12-02 15:38:02 tim Exp $ |
| 5 |
> |
* $Id$ |
| 6 |
|
*/ |
| 7 |
|
|
| 8 |
+ |
#include "antlr/config.hpp" |
| 9 |
+ |
|
| 10 |
|
#include <iostream> |
| 11 |
|
|
| 10 |
– |
#include "antlr/config.hpp" |
| 12 |
|
#include "antlr/AST.hpp" |
| 13 |
|
#include "antlr/BaseAST.hpp" |
| 14 |
|
|
| 17 |
|
namespace antlr { |
| 18 |
|
#endif |
| 19 |
|
|
| 19 |
– |
const char* const BaseAST::TYPE_NAME = "BaseAST"; |
| 20 |
– |
|
| 20 |
|
size_t BaseAST::getNumberOfChildren() const |
| 21 |
|
{ |
| 22 |
|
RefBaseAST t = this->down; |