public override void ToInstructions(List <byte> instructions) { _type?.ToInstructions(instructions); _id?.ToInstructions(instructions); _length?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.DefArray); }
public override void ToInstructions(List <byte> instructions) { _numberOfLoops?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.For); _body?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.EndFor); }
public override void ToInstructions(List <byte> instructions) { _condition?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.If); _body?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.EndIf); }
public override void ToInstructions(List <byte> instructions) { _id?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.DefFunction); _returnSignature?.ToInstructions(instructions); _body?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.EndDefFunction); }
public override void ToInstructions(List <byte> instructions) { foreach (var value in _values) { value.ToInstructions(instructions); } _id?.ToInstructions(instructions); _index?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.SetArrayValueAtIndex); }
public override void ToInstructions(List <byte> instructions) { _id?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.CustomFunction); }
public override void ToInstructions(List <byte> instructions) { _left?.ToInstructions(instructions); _right?.ToInstructions(instructions); instructions.Add((byte)_mathInstruction); }
public override void ToInstructions(List <byte> instructions) { _id?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.GetArray); }
public override void ToInstructions(List <byte> instructions) { _id?.ToInstructions(instructions); _numberOfFields?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.DefType); }
public override void ToInstructions(List <byte> instructions) { _val?.ToInstructions(instructions); _id?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.SetVar); }
public override void ToInstructions(List <byte> instructions) { _isArray?.ToInstructions(instructions); _type?.ToInstructions(instructions); instructions.Add((byte)InstructionsEnum.ReturnSignature); }