gsc-tool/src/gsc/misc/define.hpp

21 lines
360 B
C++
Raw Normal View History

// Copyright 2023 xensik. All rights reserved.
//
// Use of this source code is governed by a GNU GPLv3 license
// that can be found in the LICENSE file.
#pragma once
namespace xsk::gsc
{
struct define
{
enum kind { PLAIN, BUILTIN, OBJECT, FUNCTION };
kind type;
std::vector<token> args;
std::vector<token> exp;
};
} // namespace xsk::gsc