1234567891011121314151617181920212223242526 |
- using NTERA.EmuEra.Game.EraEmu.Sub;
- namespace NTERA.EmuEra.Game.EraEmu.GameData
- {
- internal sealed class DefineMacro
- {
- public DefineMacro(string key, WordCollection wc, int argcount)
- {
- Keyword = key;
- Statement = wc;
- ArgCount = argcount;
- Statement.Pointer = 0;
- HasArguments = argcount != 0;
- if (Statement.Collection.Count == 1)
- IDWord = Statement.Current as IdentifierWord;
- IsNull = wc.Collection.Count == 0;
- }
- public readonly string Keyword;
- public readonly int ArgCount;
- public readonly WordCollection Statement;
- public readonly IdentifierWord IDWord;
- public readonly bool HasArguments;
- public readonly bool IsNull;
- }
- }
|