コード例 #1
0
ファイル: IfElseStatement.cs プロジェクト: spreeker/waebric
 /// <summary>
 /// Set TrueStatement of IfElseStatement
 /// </summary>
 /// <param name="trueStatement">TrueStatement to set</param>
 public void SetTrueStatement(Statement trueStatement)
 {
     TrueStatement = trueStatement;
 }
コード例 #2
0
 /// <summary>
 /// Add statement to FunctionDefinition
 /// </summary>
 /// <param name="statement">Statement to add</param>
 public void AddStatement(Statement statement)
 {
     StatementList.Add(statement);
 }
コード例 #3
0
ファイル: IfElseStatement.cs プロジェクト: spreeker/waebric
 /// <summary>
 /// Set FalseStatement of IfElseStatement
 /// </summary>
 /// <param name="falseStatement">FalseStatement to set</param>
 public void SetFalseStatement(Statement falseStatement)
 {
     FalseStatement = falseStatement;
 }
コード例 #4
0
 public void SetStatement(Statement statement)
 {
     Statement = statement;
 }