AstNode.cpp File Reference

#include "AstNode.h"
#include <iostream>

Include dependency graph for AstNode.cpp:

Go to the source code of this file.

Functions

ostream & operator<< (ostream &stream, const AstNode &node)


Function Documentation

ostream& operator<< ( ostream &  stream,
const AstNode node 
)

Definition at line 22 of file AstNode.cpp.

References AstNode::type, and AstNode::value.

00022                                                           {
00023     stream << node.type;
00024     if (node.value.length() > 0)
00025         stream << '|' << node.value;
00026     return stream;
00027 }


Generated on Wed Feb 27 20:31:15 2008 for php.ast.svn.src. by  doxygen 1.5.3