2010-11-09 04:06:32 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2010, Rene Gollent, rene@gollent.com.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef CSTRING_VALUE_NODE_H
|
|
|
|
#define CSTRING_VALUE_NODE_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "ValueNode.h"
|
|
|
|
|
|
|
|
|
|
|
|
class AddressType;
|
|
|
|
|
|
|
|
|
|
|
|
class CStringValueNode : public ChildlessValueNode {
|
|
|
|
public:
|
|
|
|
CStringValueNode(ValueNodeChild* nodeChild,
|
2010-12-09 07:28:10 +03:00
|
|
|
Type* type);
|
2010-11-09 04:06:32 +03:00
|
|
|
virtual ~CStringValueNode();
|
|
|
|
|
|
|
|
virtual Type* GetType() const;
|
|
|
|
|
|
|
|
virtual status_t ResolvedLocationAndValue(
|
|
|
|
ValueLoader* valueLoader,
|
|
|
|
ValueLocation*& _location,
|
|
|
|
Value*& _value);
|
|
|
|
|
|
|
|
private:
|
2010-12-09 07:28:10 +03:00
|
|
|
Type* fType;
|
2010-11-09 04:06:32 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CSTRING_VALUE_NODE_H
|