text: /**
   * Project Untitled
   */
  
  
  #ifndef _FLOATNODE_H
  #define _FLOATNODE_H
  
  #include "Node.h"
  #include <string>
  using namespace std;
  
  class FloatNode: public Node {
  public:
  	static FloatNode* Create(const char* num);
  	virtual LValue codeGen(CodeGenContext* context);
  	virtual NodeType getType();
  	float getFloat();
  	virtual Node* copy() {
  		return new FloatNode(*this);
  	}
  protected:
  	void printSelf();
  	float value;
  	FloatNode(const char* num);
  };
  
  #endif //_FLOATNODE_H
  