1 #include "src/exception_macro.h"
2 #include "src/exception_std.h"
3 #include "src/object.h"
4 #include "src/unicode.h"
6 namespace interpreter = utakata::interpreter;
7 namespace unicode = utakata::unicode;
8 namespace exception = utakata::exception;
11 interpreter::IObject* interpreter::IObject::GetCar() {
12 THROW_EXCEPTION_(exception::NotImplementedException,
13 unicode::Convert("Not implemented `GetCar`"));
17 interpreter::IObject* interpreter::IObject::GetCdr() {
18 THROW_EXCEPTION_(exception::NotImplementedException,
19 unicode::Convert("Not implemented `GetCdr`"));
23 void interpreter::IObject::SetCar(interpreter::IObject* car) {
24 THROW_EXCEPTION_(exception::NotImplementedException,
25 unicode::Convert("Not implemented `SetCar`"));
29 void interpreter::IObject::SetCdr(interpreter::IObject* cdr) {
30 THROW_EXCEPTION_(exception::NotImplementedException,
31 unicode::Convert("Not implemented `SetCdr`"));
35 bool interpreter::IObject::GetBoolean() const {
36 THROW_EXCEPTION_(exception::NotImplementedException,
37 unicode::Convert("Not implemented `GetBoolean`"));
41 void interpreter::IObject::SetBoolean(bool b) {
42 THROW_EXCEPTION_(exception::NotImplementedException,
43 unicode::Convert("Not implemented `SetBoolean`"));
47 const unicode::UniString& interpreter::IObject::GetSymbolName() const {
48 THROW_EXCEPTION_(exception::NotImplementedException,
49 unicode::Convert("Not implemented `GetSymbolName`"));
53 interpreter::IObject* interpreter::IObject::GetBindObject() {
54 THROW_EXCEPTION_(exception::NotImplementedException,
55 unicode::Convert("Not implemented `GetBindObject`"));
59 void interpreter::IObject::SetBindObject(const interpreter::IObject* object) {
60 THROW_EXCEPTION_(exception::NotImplementedException,
61 unicode::Convert("Not implemented `SetBindObject`"));
65 const unicode::UniString& interpreter::IObject::GetString() const {
66 THROW_EXCEPTION_(exception::NotImplementedException,
67 unicode::Convert("Not implemented `GetString`"));
71 int interpreter::IObject::GetNumber() const {
72 THROW_EXCEPTION_(exception::NotImplementedException,
73 unicode::Convert("Not implemented `GetNumber`"));
77 void interpreter::IObject::SetNumber(int number) {
78 THROW_EXCEPTION_(exception::NotImplementedException,
79 unicode::Convert("Not implemented `SetNumber`"));
83 const unicode::UniChar& interpreter::IObject::GetCharactor() const {
84 THROW_EXCEPTION_(exception::NotImplementedException,
85 unicode::Convert("Not implemented `GetCharactor`"));
89 std::vector<interpreter::IObject*>& interpreter::IObject::GetVector() {
90 THROW_EXCEPTION_(exception::NotImplementedException,
91 unicode::Convert("Not implemented `GetVector`"));
95 std::vector<interpreter::IObject*>& interpreter::IObject::GetBytevector() {
96 THROW_EXCEPTION_(exception::NotImplementedException,
97 unicode::Convert("Not implemented `GetBytevector`"));