| 1234567891011121314151617181920212223242526272829303132333435363738 |
- //
- // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
- // LICENSE: Atomic Game Engine Editor and Tools EULA
- // Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
- // license information: https://github.com/AtomicGameEngine/AtomicGameEngine
- //
- #pragma once
- #include "JSBSourceWriter.h"
- namespace ToolCore
- {
- class JSBPackage;
- class JSBFunction;
- class JSBFunctionWriter : public JSBSourceWriter
- {
- public:
- virtual void GenerateSource(String& sourceOut);
- protected:
- JSBFunctionWriter(JSBFunction* function);
- protected:
- virtual void WriteFunction(String& source);
- virtual void WriteConstructor(String& source);
- virtual void WriteParameterMarshal(String& source);
- JSBFunction* function_;
- };
- }
|