コード例 #1
0
        public SteIfElseIfElse AddElseIf(string condition, ISyntaxTreeElement code)
        {
            IfList.Add(
                new SteIf()
            {
                Condition = new SteFixedCode(condition),
                TrueCode  = code
            });

            return(this);
        }
コード例 #2
0
        public SteIfElseIfElse AddElseIf(string condition, string code)
        {
            IfList.Add(
                new SteIf()
            {
                Condition = new SteFixedCode(condition),
                TrueCode  = new SteFixedCode(code)
            });

            return(this);
        }
コード例 #3
0
        public SteIfElseIfElse AddElseIf(ISyntaxTreeElement condition, ISyntaxTreeElement code)
        {
            IfList.Add(
                new SteIf()
            {
                Condition = condition,
                TrueCode  = code
            });

            return(this);
        }