2024-01-14 06:11:26 -05:00
|
|
|
// Copyright 2024 xensik. All rights reserved.
|
2023-05-13 13:24:57 -04:00
|
|
|
//
|
|
|
|
// Use of this source code is governed by a GNU GPLv3 license
|
|
|
|
// that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace xsk::arc
|
|
|
|
{
|
|
|
|
|
|
|
|
struct define
|
|
|
|
{
|
|
|
|
enum kind : u8 { PLAIN, BUILTIN, OBJECT, FUNCTION };
|
|
|
|
|
|
|
|
kind type;
|
|
|
|
// bool vararg;
|
|
|
|
std::vector<token> args;
|
|
|
|
std::vector<token> exp;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace xsk::arc
|