/// <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); }
/// <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; }