Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 605 for mexpr (0.07 sec)

  1. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr2PluginIntegrationTest.groovy

                }
    
                class TestGrammar extends Parser;
    
                options {
                    buildAST = true;
                }
    
                expr:   mexpr (PLUS^ mexpr)* SEMI!
                    ;
    
                mexpr
                    :   atom (STAR^ atom)*
                    ;
    
                atom:   INT
                    ;"""
    
            file("grammar-builder/src/main/antlr/AnotherGrammar.g") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/internal/antlr2/MetadataExtracterTest.groovy

            header {
                package org.acme;
            }
    
            class TestGrammar extends Parser;
    
            options {
                buildAST = true;
            }
    
            expr:   mexpr (PLUS^ mexpr)* SEMI!
                ;
    
            mexpr
                :   atom (STAR^ atom)*
                ;
    
            atom:   INT
                ;"""
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr2RelocationIntegrationTest.groovy

            projectDir.file("src/main/antlr/org/acme/TestGrammar.g") << """ class TestGrammar extends Parser;
            options {
                buildAST = true;
            }
    
            expr:   mexpr (PLUS^ mexpr)* SEMI!
            ;
    
            mexpr
            :   atom (STAR^ atom)*
            ;
    
            atom:   INT
            ;"""
            projectDir.file("build.gradle") << """
                apply plugin: "antlr"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/AntlrPluginIntegrationTest.groovy

            and:
    
            file("src/main/antlr/org/acme/TestGrammar.g") << """ class TestGrammar extends Parser;
            options {
                buildAST = true;
            }
    
            expr:   mexpr (PLUS^ mexpr)* SEMI!
            ;
    
            mexpr
            :   atom (STAR^ atom)*
            ;
    
            atom:   INT
            ;"""
    
            when:
            succeeds("generateGrammarSource")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/union.go

    // Avoid excessive type-checking times due to quadratic termlist operations.
    const maxTermCount = 100
    
    // parseUnion parses uexpr as a union of expressions.
    // The result is a Union type, or Typ[Invalid] for some errors.
    func parseUnion(check *Checker, uexpr syntax.Expr) Type {
    	blist, tlist := flattenUnion(nil, uexpr)
    	assert(len(blist) == len(tlist)-1)
    
    	var terms []*Term
    
    	var u Type
    	for i, x := range tlist {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. src/go/types/union.go

    // Avoid excessive type-checking times due to quadratic termlist operations.
    const maxTermCount = 100
    
    // parseUnion parses uexpr as a union of expressions.
    // The result is a Union type, or Typ[Invalid] for some errors.
    func parseUnion(check *Checker, uexpr ast.Expr) Type {
    	blist, tlist := flattenUnion(nil, uexpr)
    	assert(len(blist) == len(tlist)-1)
    
    	var terms []*Term
    
    	var u Type
    	for i, x := range tlist {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/nodes.go

    		expr
    	}
    
    	// (X)
    	ParenExpr struct {
    		X Expr
    		expr
    	}
    
    	// X.Sel
    	SelectorExpr struct {
    		X   Expr
    		Sel *Name
    		expr
    	}
    
    	// X[Index]
    	// X[T1, T2, ...] (with Ti = Index.(*ListExpr).ElemList[i])
    	IndexExpr struct {
    		X     Expr
    		Index Expr
    		expr
    	}
    
    	// X[Index[0] : Index[1] : Index[2]]
    	SliceExpr struct {
    		X     Expr
    		Index [3]Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. tensorflow/c/tf_status_helper.h

    }  // namespace tensorflow
    
    #define TF_STATUS_ASSIGN_OR_RETURN(lhs, rexpr, c_status) \
      _TF_STATUS_ASSIGN_OR_RETURN_IMPL(                      \
          _TF_STATUS_CONCAT(_status_or_value, __COUNTER__), lhs, rexpr, c_status);
    
    #define _TF_STATUS_ASSIGN_OR_RETURN_IMPL(statusor, lhs, rexpr, c_status) \
      auto statusor = (rexpr);                                               \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go

    			expr:        `isQuantity("20Mi")`,
    			expectValue: trueVal,
    		},
    		{
    			name:        "isQuantity_invalidSuffix",
    			expr:        `isQuantity("20Mo")`,
    			expectValue: falseVal,
    		},
    		{
    			name:        "isQuantity_passingRegex",
    			expr:        `isQuantity("10Mm")`,
    			expectValue: falseVal,
    		},
    		{
    			name:               "isQuantity_noOverload",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/ExpressionResolver.kt

    }
    
    
    class ExpressionResolverImpl(
        private val propertyAccessResolver: PropertyAccessResolver,
        private val functionCallResolver: FunctionCallResolver,
    ) : ExpressionResolver {
        override fun doResolveExpression(context: AnalysisContext, expr: Expr): ObjectOrigin? = with(context) {
            when (expr) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 12:28:39 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top