Esempio n. 1
0
 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;
 }
Esempio n. 3
0
 public ProcedureAlreadyEndedException(string procName, Lexer.CaptureInfo capture = null) :
     base(capture)
 {
     ProcedureName = procName;
 }
Esempio n. 4
0
 public FormatException(Lexer.CaptureInfo capture = null) :
     base(capture)
 {
 }
Esempio n. 5
0
 public ProcedureDoesNotReturn(string procName, Lexer.CaptureInfo capture = null) :
     base(capture)
 {
     ProcedureName = procName;
 }
 public RegisterCombinationNotSupportedException(string regCombination, Lexer.CaptureInfo capture = null) :
     base(capture)
 {
     RegisterCombination = regCombination;
 }
Esempio n. 7
0
 public ProcedureRedeclaredException(string procName, Lexer.CaptureInfo capture = null) :
     base(capture)
 {
     ProcedureName = procName;
 }
Esempio n. 8
0
        }                                                      // 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;
        }
Esempio n. 9
0
 public NotACommandException(string commandName, Lexer.CaptureInfo capture = null) :
     base(commandName, capture)
 {
 }
Esempio n. 10
0
 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;
 }
Esempio n. 12
0
 public ProcedureNotDeclaredException(string procName, string commandName, Lexer.CaptureInfo capture = null) :
     base(commandName, capture)
 {
     ProcedureName = procName;
 }
Esempio n. 13
0
 public MemoryName(string name, Lexer.CaptureInfo capture = null) :
     base(capture, name)
 {
 }
Esempio n. 14
0
 public VariableNotDeclaredException(string varName, string commandName, Lexer.CaptureInfo capture = null) :
     base(commandName, capture)
 {
     VariableName = varName;
 }
Esempio n. 15
0
 public LineException(Lexer.CaptureInfo capture = null)
 {
     CaptureInfo = capture;
 }
Esempio n. 16
0
 public ArgumentNumberException(string commandName, int numberOfArguments, Lexer.CaptureInfo capture = null) :
     base(commandName, capture)
 {
     NumberOfArguments = numberOfArguments;
 }
Esempio n. 17
0
 public LoopTooFarException(string labelName, Lexer.CaptureInfo capture = null) :
     base("LOOP", capture)
 {
     LabelName = labelName;
 }
Esempio n. 18
0
 public CommandException(string commandName, Lexer.CaptureInfo capture = null) :
     base(capture)
 {
     CommandName = commandName;
 }
Esempio n. 19
0
 public ArgumentSizeException(string commandName, Lexer.CaptureInfo capture = null) :
     base(commandName, capture)
 {
 }
Esempio n. 20
0
 public LabelNotDeclaredException(string labelName, string commandName, Lexer.CaptureInfo capture = null) :
     base(commandName, capture)
 {
     LabelName = labelName;
 }
Esempio n. 21
0
 public OverflowException(string value, Lexer.CaptureInfo capture = null) :
     base(capture)
 {
     Value = value;
 }
Esempio n. 22
0
 public LabelRedeclaredException(string labelName, Lexer.CaptureInfo capture = null) :
     base(capture)
 {
     LabelName = labelName;
 }