While.AST.Statements.If.If C# (CSharp) Method

If() public method

public If ( TypedExpression exp, StatementSequence ifBranch, StatementSequence elseBranch ) : System
exp TypedExpression
ifBranch While.AST.Sequences.StatementSequence
elseBranch While.AST.Sequences.StatementSequence
return System
        public If(TypedExpression<bool> exp, StatementSequence ifBranch, StatementSequence elseBranch)
        {
            AddChild(exp);
            AddChild(ifBranch);
            AddChild(elseBranch);
        }