コード例 #1
0
ファイル: Sequence11.cs プロジェクト: plasma-effect/PEGer
        public Sequence(ExpressionBase <T1> expr1, ExpressionBase <T2> expr2, ExpressionBase <T3> expr3, ExpressionBase <T4> expr4, ExpressionBase <T5> expr5, ExpressionBase <T6> expr6, ExpressionBase <T7> expr7, ExpressionBase <T8> expr8, ExpressionBase <T9> expr9, ExpressionBase <T10> expr10, ExpressionBase <T11> expr11, Func <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult> func, Func <ParsingException, int, Exception> error)
        {
            this.expr1  = expr1;
            this.expr2  = expr2;
            this.expr3  = expr3;
            this.expr4  = expr4;
            this.expr5  = expr5;
            this.expr6  = expr6;
            this.expr7  = expr7;
            this.expr8  = expr8;
            this.expr9  = expr9;
            this.expr10 = expr10;
            this.expr11 = expr11;

            this.func  = func;
            this.error = error;
        }
コード例 #2
0
ファイル: Value.cs プロジェクト: plasma-effect/PEGer
 public Value()
 {
     this.Expr = null;
     this.guid = Guid.NewGuid();
 }
コード例 #3
0
ファイル: Expression.cs プロジェクト: plasma-effect/PEGer
 public MakeSequence <T, U> Next <U>(ExpressionBase <U> rhs)
 {
     return(new MakeSequence <T, U>(this, rhs));
 }
コード例 #4
0
        public Select(ExpressionBase <T1> expr1, ExpressionBase <T2> expr2, ExpressionBase <T3> expr3, ExpressionBase <T4> expr4, ExpressionBase <T5> expr5, ExpressionBase <T6> expr6, Func <T1, TResult> func1, Func <T2, TResult> func2, Func <T3, TResult> func3, Func <T4, TResult> func4, Func <T5, TResult> func5, Func <T6, TResult> func6, Func <ParsingException, ParsingException, ParsingException, ParsingException, ParsingException, ParsingException, Exception> error)
        {
            this.expr1 = expr1;
            this.expr2 = expr2;
            this.expr3 = expr3;
            this.expr4 = expr4;
            this.expr5 = expr5;
            this.expr6 = expr6;

            this.func1 = func1;
            this.func2 = func2;
            this.func3 = func3;
            this.func4 = func4;
            this.func5 = func5;
            this.func6 = func6;

            this.error = error;
        }
コード例 #5
0
 public EqualSelect6(ExpressionBase <T> expr1, ExpressionBase <T> expr2, ExpressionBase <T> expr3, ExpressionBase <T> expr4, ExpressionBase <T> expr5, ExpressionBase <T> expr6, Func <ParsingException, ParsingException, ParsingException, ParsingException, ParsingException, ParsingException, Exception> error) : base(expr1, expr2, expr3, expr4, expr5, expr6, Echo, Echo, Echo, Echo, Echo, Echo, error)
 {
 }
コード例 #6
0
        public Sequence(ExpressionBase <T1> expr1, ExpressionBase <T2> expr2, ExpressionBase <T3> expr3, ExpressionBase <T4> expr4, Func <T1, T2, T3, T4, TResult> func, Func <ParsingException, int, Exception> error)
        {
            this.expr1 = expr1;
            this.expr2 = expr2;
            this.expr3 = expr3;
            this.expr4 = expr4;

            this.func  = func;
            this.error = error;
        }