basics for new parser

This commit is contained in:
LenAnderson
2024-03-25 08:53:36 -04:00
parent 4a5c1a5ac8
commit 376a83511c
11 changed files with 1024 additions and 73 deletions

View File

@ -0,0 +1,18 @@
// eslint-disable-next-line no-unused-vars
import { SlashCommand } from './SlashCommand.js';
// eslint-disable-next-line no-unused-vars
import { SlashCommandClosure } from './SlashCommandClosure.js';
export class SlashCommandExecutor {
/**@type {Number}*/ start;
/**@type {Number}*/ end;
/**@type {String}*/ name = '';
/**@type {SlashCommand}*/ command;
// @ts-ignore
/**@type {Map<String,String|SlashCommandClosure>}*/ args = {};
/**@type {String|SlashCommandClosure|(String|SlashCommandClosure)[]}*/ value;
constructor(start) {
this.start = start;
}
}