Exemple #1
0
 /// <summary>
 /// Set TrueStatement of IfElseStatement
 /// </summary>
 /// <param name="trueStatement">TrueStatement to set</param>
 public void SetTrueStatement(Statement trueStatement)
 {
     TrueStatement = trueStatement;
 }
 /// <summary>
 /// Add statement to FunctionDefinition
 /// </summary>
 /// <param name="statement">Statement to add</param>
 public void AddStatement(Statement statement)
 {
     StatementList.Add(statement);
 }
Exemple #3
0
 /// <summary>
 /// Set FalseStatement of IfElseStatement
 /// </summary>
 /// <param name="falseStatement">FalseStatement to set</param>
 public void SetFalseStatement(Statement falseStatement)
 {
     FalseStatement = falseStatement;
 }
 public void SetStatement(Statement statement)
 {
     Statement = statement;
 }