Apply cpp naming to files
This commit is contained in:
parent
89eec0e329
commit
9d01ba2c8a
73 changed files with 160 additions and 160 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "Rect.hpp"
|
#include "Rect.hpp"
|
||||||
|
|
||||||
#include "interpreter/interpreter.h"
|
#include "interpreter/Interpreter.hpp"
|
||||||
|
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
#include "imgui_internal.h"
|
#include "imgui_internal.h"
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "primitives/primitives.h"
|
#include "primitives/PrimitiveObjects.hpp"
|
||||||
#include "primitives//interpreterobject.h"
|
#include "primitives//InterpreterObject.hpp"
|
||||||
|
|
||||||
#include "compiler/function.h"
|
#include "compiler/Functions.hpp"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include "compiler/constants.h"
|
#include "compiler/Constants.hpp"
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
#include "primitives/primitives.h"
|
#include "primitives/PrimitiveObjects.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "compiler/expression.h"
|
#include "compiler/Expressions.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace BCgen;
|
using namespace BCgen;
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
|
|
||||||
#include "compiler/function.h"
|
#include "compiler/Functions.hpp"
|
||||||
|
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
#include "primitives/primitives.h"
|
#include "primitives/PrimitiveObjects.hpp"
|
||||||
|
|
||||||
#include "parser/parser.h"
|
#include "parser/Parser.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
#include "compiler/instruction.h"
|
#include "compiler/Instructions.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "compiler/statement.h"
|
#include "compiler/Statements.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace BCgen;
|
using namespace BCgen;
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
|
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
#include "primitives/classobject.h"
|
#include "primitives/ClassObject.hpp"
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
#include "primitives/nullobject.h"
|
#include "primitives/NullObject.hpp"
|
||||||
|
|
||||||
#include "compiler/function.h"
|
#include "compiler/Functions.hpp"
|
||||||
#include "interpreter/interpreter.h"
|
#include "interpreter/Interpreter.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
#include "primitives/nullobject.h"
|
#include "primitives/NullObject.hpp"
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
|
|
@ -1,20 +1,20 @@
|
||||||
|
|
||||||
#include "compiler/function.h"
|
#include "compiler/Functions.hpp"
|
||||||
|
|
||||||
#include "primitives/boolobject.h"
|
#include "primitives/BoolObject.hpp"
|
||||||
#include "primitives/classobject.h"
|
#include "primitives/ClassObject.hpp"
|
||||||
#include "primitives/colorobject.h"
|
#include "primitives/ColorObject.hpp"
|
||||||
#include "primitives/dictobject.h"
|
#include "primitives/DictObject.hpp"
|
||||||
#include "primitives/enumobject.h"
|
#include "primitives/EnumObject.hpp"
|
||||||
#include "primitives/floatobject.h"
|
#include "primitives/FloatObject.hpp"
|
||||||
#include "primitives/interpreterobject.h"
|
#include "primitives/InterpreterObject.hpp"
|
||||||
#include "primitives/intobject.h"
|
#include "primitives/IntObject.hpp"
|
||||||
#include "primitives/linkobject.h"
|
#include "primitives/LinkObject.hpp"
|
||||||
#include "primitives/listobject.h"
|
#include "primitives/ListObject.hpp"
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
#include "primitives/nullobject.h"
|
#include "primitives/NullObject.hpp"
|
||||||
#include "primitives/stringobject.h"
|
#include "primitives/StringObject.hpp"
|
||||||
#include "primitives/typeobject.h"
|
#include "primitives/TypeObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
#include "core/scriptsection.h"
|
#include "core/ScriptSection.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#include "core/typegroups.h"
|
#include "core/TypeGroups.hpp"
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
#include "core/typemethods.h"
|
#include "core/TypeMethods.hpp"
|
||||||
|
|
||||||
#include "primitives/floatobject.h"
|
#include "primitives/FloatObject.hpp"
|
||||||
#include "primitives/nullobject.h"
|
#include "primitives/NullObject.hpp"
|
||||||
#include "primitives/typeobject.h"
|
#include "primitives/TypeObject.hpp"
|
||||||
|
|
||||||
#include "interpreter/interpreter.h"
|
#include "interpreter/Interpreter.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
#include "interpreter/callstack.h"
|
#include "interpreter/CallStack.hpp"
|
||||||
|
|
||||||
#include "interpreter/bytecode.h"
|
#include "interpreter/ByteCode.hpp"
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#include "interpreter/interpreter.h"
|
#include "interpreter/Interpreter.hpp"
|
||||||
|
|
||||||
#include "primitives/primitives.h"
|
#include "primitives/PrimitiveObjects.hpp"
|
||||||
|
|
||||||
#include "Timing.hpp"
|
#include "Timing.hpp"
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
#include "interpreter/operandsstack.h"
|
#include "interpreter/OperandsStack.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#include "Utils.hpp"
|
#include "Utils.hpp"
|
||||||
|
|
||||||
#include "interpreter/opcodes.h"
|
#include "interpreter/OperatoinCodes.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
OpcodeInfos gOpcodeInfos;
|
OpcodeInfos gOpcodeInfos;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
#include "interpreter/scopestack.h"
|
#include "interpreter/ScopeStack.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
#include <parser/parser.h>
|
#include "parser/Parser.hpp"
|
||||||
|
|
||||||
#include "Private.hpp"
|
#include "Private.hpp"
|
||||||
|
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
#include <lalr/Parser.hpp>
|
#include <lalr/Parser.hpp>
|
||||||
#include <lalr/string_literal.hpp>
|
#include <lalr/string_literal.hpp>
|
||||||
|
|
||||||
#include "compiler/statement.h"
|
#include "compiler/Statements.hpp"
|
||||||
#include "compiler/expression.h"
|
#include "compiler/Expressions.hpp"
|
||||||
|
|
||||||
#include "Tree.hpp"
|
#include "Tree.hpp"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
|
|
||||||
#include "primitives/boolobject.h"
|
#include "primitives/BoolObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#include "primitives/classobject.h"
|
#include "primitives/ClassObject.hpp"
|
||||||
#include "primitives/dictobject.h"
|
#include "primitives/DictObject.hpp"
|
||||||
#include "primitives/nullobject.h"
|
#include "primitives/NullObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
#include "primitives/colorobject.h"
|
#include "primitives/ColorObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
#include "primitives/dictobject.h"
|
#include "primitives/DictObject.hpp"
|
||||||
#include "primitives/stringobject.h"
|
#include "primitives/StringObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
#include "primitives/enumobject.h"
|
#include "primitives/EnumObject.hpp"
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "primitives/floatobject.h"
|
#include "primitives/FloatObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
#include "primitives/intobject.h"
|
#include "primitives/IntObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#include "primitives/interpreterobject.h"
|
#include "primitives/InterpreterObject.hpp"
|
||||||
#include "primitives/linkobject.h"
|
#include "primitives/LinkObject.hpp"
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
#include "primitives/linkobject.h"
|
#include "primitives/LinkObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
#include "primitives/intobject.h"
|
#include "primitives/IntObject.hpp"
|
||||||
#include "primitives/listobject.h"
|
#include "primitives/ListObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#include "compiler/function.h"
|
#include "compiler/Functions.hpp"
|
||||||
#include "core/scriptsection.h"
|
#include "core/ScriptSection.hpp"
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
|
|
||||||
#include "primitives/nullobject.h"
|
#include "primitives/NullObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
|
|
||||||
#include "primitives/stringobject.h"
|
#include "primitives/StringObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
#include "primitives/typeobject.h"
|
#include "primitives/TypeObject.hpp"
|
||||||
#include "primitives/nullobject.h"
|
#include "primitives/NullObject.hpp"
|
||||||
|
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "interpreter/bytecode.h"
|
#include "interpreter/ByteCode.hpp"
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
namespace BCgen {
|
namespace BCgen {
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "Buffer.hpp"
|
#include "Buffer.hpp"
|
||||||
|
|
||||||
#include "interpreter/opcodes.h"
|
#include "interpreter/OperatoinCodes.hpp"
|
||||||
|
|
||||||
namespace obj::BCgen {
|
namespace obj::BCgen {
|
||||||
|
|
||||||
|
|
@ -5,9 +5,9 @@
|
||||||
#include "List.hpp"
|
#include "List.hpp"
|
||||||
#include "Map.hpp"
|
#include "Map.hpp"
|
||||||
|
|
||||||
#include "instruction.h"
|
#include "Instructions.hpp"
|
||||||
#include "statement.h"
|
#include "Statements.hpp"
|
||||||
#include "constants.h"
|
#include "Constants.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
struct MethodObject;
|
struct MethodObject;
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "interpreter/opcodes.h"
|
#include "interpreter/OperatoinCodes.hpp"
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
#include "List.hpp"
|
#include "List.hpp"
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "expression.h"
|
#include "Expressions.hpp"
|
||||||
|
|
||||||
namespace obj::BCgen {
|
namespace obj::BCgen {
|
||||||
struct Statement {
|
struct Statement {
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
#include "Buffer.hpp"
|
#include "Buffer.hpp"
|
||||||
#include "LocalConnection.hpp"
|
#include "LocalConnection.hpp"
|
||||||
|
|
||||||
#include "core/typegroups.h"
|
#include "core/TypeGroups.hpp"
|
||||||
#include "core/typemethods.h"
|
#include "core/TypeMethods.hpp"
|
||||||
|
|
||||||
#include "Archiver.hpp"
|
#include "Archiver.hpp"
|
||||||
#include "SizeCounter.hpp"
|
#include "SizeCounter.hpp"
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "opcodes.h"
|
#include "OperatoinCodes.hpp"
|
||||||
|
|
||||||
#include "primitives/intobject.h"
|
#include "primitives/IntObject.hpp"
|
||||||
#include "primitives/stringobject.h"
|
#include "primitives/StringObject.hpp"
|
||||||
|
|
||||||
#include "Buffer.hpp"
|
#include "Buffer.hpp"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
#include "primitives/classobject.h"
|
#include "primitives/ClassObject.hpp"
|
||||||
|
|
||||||
#include "Map.hpp"
|
#include "Map.hpp"
|
||||||
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "operandsstack.h"
|
#include "OperandsStack.hpp"
|
||||||
#include "scopestack.h"
|
#include "ScopeStack.hpp"
|
||||||
#include "callstack.h"
|
#include "CallStack.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
struct Interpreter {
|
struct Interpreter {
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "bytecode.h"
|
#include "ByteCode.hpp"
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
#include "Map.hpp"
|
#include "Map.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "interpreter/bytecode.h"
|
#include "interpreter/ByteCode.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
struct Script {
|
struct Script {
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "compiler/statement.h"
|
#include "compiler/Statements.hpp"
|
||||||
#include "compiler/expression.h"
|
#include "compiler/Expressions.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "primitives/dictobject.h"
|
#include "primitives/DictObject.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
#include "Color.hpp"
|
#include "Color.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "interpreter/interpreter.h"
|
#include "interpreter/Interpreter.hpp"
|
||||||
#include "primitives/classobject.h"
|
#include "primitives/ClassObject.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
struct InterpreterObject : ClassObject {
|
struct InterpreterObject : ClassObject {
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "primitives/stringobject.h"
|
#include "primitives/StringObject.hpp"
|
||||||
#include "interpreter/script.h"
|
#include "interpreter/Script.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
16
Objects/public/primitives/PrimitiveObjects.hpp
Normal file
16
Objects/public/primitives/PrimitiveObjects.hpp
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "primitives/BoolObject.hpp"
|
||||||
|
#include "primitives/ClassObject.hpp"
|
||||||
|
#include "primitives/ColorObject.hpp"
|
||||||
|
#include "primitives/DictObject.hpp"
|
||||||
|
#include "primitives/EnumObject.hpp"
|
||||||
|
#include "primitives/FloatObject.hpp"
|
||||||
|
#include "primitives/InterpreterObject.hpp"
|
||||||
|
#include "primitives/IntObject.hpp"
|
||||||
|
#include "primitives/LinkObject.hpp"
|
||||||
|
#include "primitives/ListObject.hpp"
|
||||||
|
#include "primitives/MethodObject.hpp"
|
||||||
|
#include "primitives/NullObject.hpp"
|
||||||
|
#include "primitives/StringObject.hpp"
|
||||||
|
#include "primitives/TypeObject.hpp"
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
namespace obj {
|
namespace obj {
|
||||||
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "primitives/boolobject.h"
|
|
||||||
#include "primitives/classobject.h"
|
|
||||||
#include "primitives/colorobject.h"
|
|
||||||
#include "primitives/dictobject.h"
|
|
||||||
#include "primitives/enumobject.h"
|
|
||||||
#include "primitives/floatobject.h"
|
|
||||||
#include "primitives/interpreterobject.h"
|
|
||||||
#include "primitives/intobject.h"
|
|
||||||
#include "primitives/linkobject.h"
|
|
||||||
#include "primitives/listobject.h"
|
|
||||||
#include "primitives/methodobject.h"
|
|
||||||
#include "primitives/nullobject.h"
|
|
||||||
#include "primitives/stringobject.h"
|
|
||||||
#include "primitives/typeobject.h"
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
|
|
||||||
#include "ObjectTests.hpp"
|
#include "ObjectTests.hpp"
|
||||||
|
|
||||||
#include "compiler/function.h"
|
#include "compiler/Functions.hpp"
|
||||||
#include "parser/parser.h"
|
#include "parser/Parser.hpp"
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
#include "interpreter/interpreter.h"
|
#include "interpreter/Interpreter.hpp"
|
||||||
#include "primitives/interpreterobject.h"
|
#include "primitives/InterpreterObject.hpp"
|
||||||
#include "primitives/linkobject.h"
|
#include "primitives/LinkObject.hpp"
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
|
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
#include "ObjectTests.hpp"
|
#include "ObjectTests.hpp"
|
||||||
|
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
|
|
||||||
#include "primitives/intobject.h"
|
#include "primitives/IntObject.hpp"
|
||||||
|
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
|
|
||||||
#include "ObjectTests.hpp"
|
#include "ObjectTests.hpp"
|
||||||
|
|
||||||
#include "compiler/function.h"
|
#include "compiler/Functions.hpp"
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
#include "interpreter/interpreter.h"
|
#include "interpreter/Interpreter.hpp"
|
||||||
#include "primitives/interpreterobject.h"
|
#include "primitives/InterpreterObject.hpp"
|
||||||
#include "primitives/linkobject.h"
|
#include "primitives/LinkObject.hpp"
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
|
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#include "ObjectTests.hpp"
|
#include "ObjectTests.hpp"
|
||||||
|
|
||||||
#include "parser/parser.h"
|
#include "parser/Parser.hpp"
|
||||||
|
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
|
|
||||||
#include "ObjectTests.hpp"
|
#include "ObjectTests.hpp"
|
||||||
|
|
||||||
#include "compiler/function.h"
|
#include "compiler/Functions.hpp"
|
||||||
#include "core/object.h"
|
#include "core/Object.hpp"
|
||||||
#include "interpreter/interpreter.h"
|
#include "interpreter/Interpreter.hpp"
|
||||||
#include "primitives/interpreterobject.h"
|
#include "primitives/InterpreterObject.hpp"
|
||||||
#include "primitives/linkobject.h"
|
#include "primitives/LinkObject.hpp"
|
||||||
#include "primitives/methodobject.h"
|
#include "primitives/MethodObject.hpp"
|
||||||
|
|
||||||
using namespace tp;
|
using namespace tp;
|
||||||
using namespace obj;
|
using namespace obj;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#include "ObjectTests.hpp"
|
#include "ObjectTests.hpp"
|
||||||
|
|
||||||
#include "primitives/primitives.h"
|
#include "primitives/PrimitiveObjects.hpp"
|
||||||
|
|
||||||
tp::ModuleManifest* objDeps[] = { &obj::gModuleObjects, nullptr };
|
tp::ModuleManifest* objDeps[] = { &obj::gModuleObjects, nullptr };
|
||||||
tp::ModuleManifest objTestModule("ObjectsTests", nullptr, nullptr, objDeps);
|
tp::ModuleManifest objTestModule("ObjectsTests", nullptr, nullptr, objDeps);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue