While.AST.Statements.If.If C# (CSharp) 메소드

If() 공개 메소드

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