public ArgumentException(string commandName, Lexer.ArgumentType arg1Type, Lexer.ArgumentType arg2Type = Lexer.ArgumentType.None, Lexer.CaptureInfo capture = null) : base(commandName, capture) { Argument1Type = arg1Type; Argument2Type = arg2Type; }
public TooManyRegistersException(int numberOfRegisters, Lexer.CaptureInfo capture = null) : base(capture) { NumberOfRegisters = numberOfRegisters; }
public ProcedureAlreadyEndedException(string procName, Lexer.CaptureInfo capture = null) : base(capture) { ProcedureName = procName; }
public FormatException(Lexer.CaptureInfo capture = null) : base(capture) { }
public ProcedureDoesNotReturn(string procName, Lexer.CaptureInfo capture = null) : base(capture) { ProcedureName = procName; }
public RegisterCombinationNotSupportedException(string regCombination, Lexer.CaptureInfo capture = null) : base(capture) { RegisterCombination = regCombination; }
public ProcedureRedeclaredException(string procName, Lexer.CaptureInfo capture = null) : base(capture) { ProcedureName = procName; }
} // if not declared need to point to it public Memory(Lexer.CaptureInfo capture = null, string name = null) { Capture = capture; Name = name != null?name.ToLower() : null; }
public NotACommandException(string commandName, Lexer.CaptureInfo capture = null) : base(commandName, capture) { }
public MemoryIndirect(string name, IEnumerable <string> registers, IEnumerable <Int16?> numbers, Lexer.CaptureInfo capture = null) : base(capture, name) { Registers = registers.Select(r => r.ToUpper()).OrderBy(r => r).ToArray(); Numbers = numbers.ToArray(); CheckRegisters(); }
public VariableRedeclaredException(string varName, Lexer.CaptureInfo capture = null) : base(capture) { VariableName = varName; }
public ProcedureNotDeclaredException(string procName, string commandName, Lexer.CaptureInfo capture = null) : base(commandName, capture) { ProcedureName = procName; }
public MemoryName(string name, Lexer.CaptureInfo capture = null) : base(capture, name) { }
public VariableNotDeclaredException(string varName, string commandName, Lexer.CaptureInfo capture = null) : base(commandName, capture) { VariableName = varName; }
public LineException(Lexer.CaptureInfo capture = null) { CaptureInfo = capture; }
public ArgumentNumberException(string commandName, int numberOfArguments, Lexer.CaptureInfo capture = null) : base(commandName, capture) { NumberOfArguments = numberOfArguments; }
public LoopTooFarException(string labelName, Lexer.CaptureInfo capture = null) : base("LOOP", capture) { LabelName = labelName; }
public CommandException(string commandName, Lexer.CaptureInfo capture = null) : base(capture) { CommandName = commandName; }
public ArgumentSizeException(string commandName, Lexer.CaptureInfo capture = null) : base(commandName, capture) { }
public LabelNotDeclaredException(string labelName, string commandName, Lexer.CaptureInfo capture = null) : base(commandName, capture) { LabelName = labelName; }
public OverflowException(string value, Lexer.CaptureInfo capture = null) : base(capture) { Value = value; }
public LabelRedeclaredException(string labelName, Lexer.CaptureInfo capture = null) : base(capture) { LabelName = labelName; }