Beispiel #1
0
 public AppendToFileCommand(TerminalExp fileExp, TerminalExp textExp)
 {
     _fileExp = fileExp;
     _textExp = textExp;
 }
Beispiel #2
0
 public AssignmentCommand(String variable, TerminalExp exp)
 {
     _variableName = variable;
     _expression   = exp;
 }
Beispiel #3
0
 public FindCommand(TerminalExp whereExp, TerminalExp whatExp)
 {
     _whereExp = whereExp;
     _whatExp  = whatExp;
 }
Beispiel #4
0
 public WriteToFileCommand(TerminalExp fileExp, TerminalExp textExp)
 {
     _fileExp = fileExp;
     _textExp = textExp;
 }
Beispiel #5
0
 public CopyCommand(TerminalExp fromExp, TerminalExp whereExp)
 {
     _toExp   = whereExp;
     _fromExp = fromExp;
 }
Beispiel #6
0
 public CreateVariableCommand(string type, string varName, TerminalExp exp)
 {
     _variableType  = type;
     _variableName  = varName;
     _variableValue = exp;
 }
Beispiel #7
0
 public MoveCommand(TerminalExp fromExp, TerminalExp toExp)
 {
     _toExp   = toExp;
     _fromExp = fromExp;
 }
Beispiel #8
0
 public RenameCommand(TerminalExp pathExp, TerminalExp newName)
 {
     _pathExp = pathExp;
     _newName = newName;
 }
Beispiel #9
0
 public LogAllItemsCommand(TerminalExp path)
 {
     _pathExp = path;
 }
Beispiel #10
0
 public CreateTxtFileCommand(TerminalExp whereExp, TerminalExp nameExp)
 {
     _whereExp = whereExp;
     _nameExp  = nameExp;
 }
Beispiel #11
0
 public ReadAndLogCommand(TerminalExp file)
 {
     _fileExp = file;
 }
Beispiel #12
0
 public ClearFileCommand(TerminalExp file)
 {
     _fileExp = file;
 }
Beispiel #13
0
 public DeleteCommand(TerminalExp file)
 {
     _fileExp = file;
 }
Beispiel #14
0
 public ConsoleLogCommand(TerminalExp exp)
 {
     _expression = exp;
 }
Beispiel #15
0
 public ConditionCommand(TerminalExp exp)
 {
     _expression = exp;
 }