Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for SYNTAX (0.1 sec)

  1. src/cmd/compile/internal/types2/expr.go

    		*syntax.IndexExpr,
    		*syntax.SliceExpr,
    		*syntax.AssertExpr,
    		*syntax.ListExpr,
    		//*syntax.StarExpr,
    		*syntax.KeyValueExpr,
    		*syntax.ArrayType,
    		*syntax.StructType,
    		*syntax.FuncType,
    		*syntax.InterfaceType,
    		*syntax.MapType,
    		*syntax.ChanType:
    		// These expression are never untyped - nothing to do.
    		// The respective sub-expressions got their final types
    		// upon assignment or use.
    		if debug {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

                this.left = left;
                this.right = right;
            }
    
            @Override
            public String with(Syntax syntax) {
                return left.with(syntax) + "." + right.with(syntax);
            }
        }
    
        private static class StringValue implements ExpressionValue {
            final CharSequence value;
    
            StringValue(CharSequence value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    			var kind string
    			switch node.(type) {
    			case *syntax.File:
    				kind = "file"
    			case *syntax.FuncType:
    				kind = "func"
    			case *syntax.BlockStmt:
    				kind = "block"
    			case *syntax.IfStmt:
    				kind = "if"
    			case *syntax.SwitchStmt:
    				kind = "switch"
    			case *syntax.SelectStmt:
    				kind = "select"
    			case *syntax.CaseClause:
    				kind = "case"
    			case *syntax.CommClause:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser.go

    		p.first = err
    	}
    	p.errcnt++
    	if p.errh == nil {
    		panic(p.first)
    	}
    	p.errh(err)
    }
    
    // syntaxErrorAt reports a syntax error at the given position.
    func (p *parser) syntaxErrorAt(pos Pos, msg string) {
    	if trace {
    		p.print("syntax error: " + msg)
    	}
    
    	if p.tok == _EOF && p.first != nil {
    		return // avoid meaningless follow-up errors
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    There is one last syntax for extra properties that we should cover, one that treats `extra` as a map.
    We recommend against using this in general as you lose the benefits of Kotlin's type checking and it prevents IDEs from providing as much support as they could.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       */
      public static <E extends @Nullable Object> HashSet<E> newHashSet() {
        return new HashSet<>();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Sets.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       */
      public static <E extends @Nullable Object> HashSet<E> newHashSet() {
        return new HashSet<>();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. src/regexp/syntax/parse.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package syntax
    
    import (
    	"sort"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    // An Error describes a failure to parse a regular expression
    // and gives the offending expression.
    type Error struct {
    	Code ErrorCode
    	Expr string
    }
    
    func (e *Error) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  9. src/go/parser/parser.go

    // provided in a variety of forms (see the various Parse* functions); the
    // output is an abstract syntax tree (AST) representing the Go source. The
    // parser is invoked through one of the Parse* functions.
    //
    // The parser accepts a larger language than is syntactically permitted by
    // the Go spec, for simplicity, and for improved robustness in the presence
    // of syntax errors. For instance, in method declarations, the receiver is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  10. src/go/types/api_test.go

    			if !Identical(got, want) {
    				t.Errorf("%s: Recv() = %s, want %s", syntax, got, want)
    			}
    		} else if sig != nil && sig.Recv() != nil {
    			t.Errorf("%s: signature has receiver %s", sig, sig.Recv().Type())
    		}
    	}
    	// Assert that all wantOut entries were used exactly once.
    	for syntax := range wantOut {
    		t.Errorf("no ast.Selection found with syntax %q", syntax)
    	}
    }
    
    func TestIssue8518(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top