コード例 #1
0
 public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression700 binaryElementExpression700, BinaryOp700 binaryOp700, BinaryElementExpression500 binaryElementExpression500)
 {
     lhs.CodeTerm =
         new CodeCompoundTerm(
             binaryOp700.CodeFunctor,
             new CodeTerm[] { binaryElementExpression700.CodeTerm, binaryElementExpression500.CodeTerm });
 }
コード例 #2
0
 public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression700 binaryElementExpression700, BinaryOp700 binaryOp700, BinaryElementExpression500 binaryElementExpression500)
 {
     lhs.CodeTerm =
         new CodeCompoundTerm(
             binaryOp700.CodeFunctor,
             new[] { binaryElementExpression700.CodeTerm, binaryElementExpression500.CodeTerm });
 }
コード例 #3
0
        public static void Rule(StatementElement lhs, BinaryElementExpression700 binaryTermExpression)
        {
            CodeCompoundTerm codeCompoundTerm =  binaryTermExpression.CodeTerm as CodeCompoundTerm;
            if (codeCompoundTerm == null)
            {
                throw new InvalidOperationException("Non-term expression specified.");
            }

            lhs.CodeCompoundTerm = codeCompoundTerm;
        }
コード例 #4
0
        public static void Rule(StatementElement lhs, BinaryElementExpression700 binaryTermExpression)
        {
            var codeCompoundTerm = binaryTermExpression.CodeTerm as CodeCompoundTerm;

            if (codeCompoundTerm == null)
            {
                throw new InvalidOperationException("Non-term expression specified.");
            }

            lhs.CodeCompoundTerm = codeCompoundTerm;
        }
コード例 #5
0
 public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression500 binaryElementExpression500)
 {
     lhs.CodeTerm = binaryElementExpression500.CodeTerm;
 }
コード例 #6
0
ファイル: Element.cs プロジェクト: Year-2019-20/TaskFlow.NET
 public static void Rule(Element lhs, OpenBrace openBrace, BinaryElementExpression700 binaryElementExpression, CloseBrace closeBrace)
 {
     lhs.CodeTerm = new CodeCompoundTerm(new CodeFunctor("eval", 1), new CodeTerm[] { binaryElementExpression.CodeTerm });
 }
コード例 #7
0
ファイル: Element.cs プロジェクト: Year-2019-20/TaskFlow.NET
 public static void Rule(Element lhs, OpenParenthesis openParenthesis, BinaryElementExpression700 binaryElementExpression, CloseParenthesis closeParenthesis)
 {
     lhs.CodeTerm = binaryElementExpression.CodeTerm;
 }
コード例 #8
0
 public static void Rule(CompoundTermMember lhs, BinaryElementExpression700 binaryElementExpression)
 {
     lhs.CodeTerm = binaryElementExpression.CodeTerm;
 }
コード例 #9
0
ファイル: Element.cs プロジェクト: wallymathieu/Prolog.NET
 public static void Rule(Element lhs, OpenBrace openBrace, BinaryElementExpression700 binaryElementExpression, CloseBrace closeBrace)
 {
     lhs.CodeTerm = new CodeCompoundTerm(new CodeFunctor("eval", 1), new CodeTerm[] { binaryElementExpression.CodeTerm });
 }
コード例 #10
0
ファイル: Element.cs プロジェクト: wallymathieu/Prolog.NET
 public static void Rule(Element lhs, OpenParenthesis openParenthesis, BinaryElementExpression700 binaryElementExpression, CloseParenthesis closeParenthesis)
 {
     lhs.CodeTerm = binaryElementExpression.CodeTerm;
 }
コード例 #11
0
 public static void Rule(CompoundTermMember lhs, BinaryElementExpression700 binaryElementExpression)
 {
     lhs.CodeTerm = binaryElementExpression.CodeTerm;
 }
コード例 #12
0
 public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression500 binaryElementExpression500)
 {
     lhs.CodeTerm = binaryElementExpression500.CodeTerm;
 }