Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for _Colon (0.1 sec)

  1. src/cmd/compile/internal/syntax/token_string.go

    	_ = x[_Arrow-9]
    	_ = x[_Star-10]
    	_ = x[_Lparen-11]
    	_ = x[_Lbrack-12]
    	_ = x[_Lbrace-13]
    	_ = x[_Rparen-14]
    	_ = x[_Rbrack-15]
    	_ = x[_Rbrace-16]
    	_ = x[_Comma-17]
    	_ = x[_Semi-18]
    	_ = x[_Colon-19]
    	_ = x[_Dot-20]
    	_ = x[_DotDotDot-21]
    	_ = x[_Break-22]
    	_ = x[_Case-23]
    	_ = x[_Chan-24]
    	_ = x[_Const-25]
    	_ = x[_Continue-26]
    	_ = x[_Default-27]
    	_ = x[_Defer-28]
    	_ = x[_Else-29]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 02:28:24 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    			}
    
    			// x[i:...
    			// For better error message, don't simply use p.want(_Colon) here (go.dev/issue/47704).
    			if !p.got(_Colon) {
    				p.syntaxError("expected comma, : or ]")
    				p.advance(_Comma, _Colon, _Rbrack)
    			}
    			p.xnest++
    			t := new(SliceExpr)
    			t.pos = pos
    			t.X = x
    			t.Index[0] = i
    			if p.tok != _Colon && p.tok != _Rbrack {
    				// x[i:j...
    				t.Index[1] = p.expr()
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/tokens.go

    	_Arrow    // <-
    	_Star     // *
    
    	// delimiters
    	_Lparen    // (
    	_Lbrack    // [
    	_Lbrace    // {
    	_Rparen    // )
    	_Rbrack    // ]
    	_Rbrace    // }
    	_Comma     // ,
    	_Semi      // ;
    	_Colon     // :
    	_Dot       // .
    	_DotDotDot // ...
    
    	// keywords
    	_Break       // break
    	_Case        // case
    	_Chan        // chan
    	_Const       // const
    	_Continue    // continue
    	_Default     // default
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/printer.go

    	case *SliceExpr:
    		p.print(n.X, _Lbrack)
    		if i := n.Index[0]; i != nil {
    			p.printNode(i)
    		}
    		p.print(_Colon)
    		if j := n.Index[1]; j != nil {
    			p.printNode(j)
    		}
    		if k := n.Index[2]; k != nil {
    			p.print(_Colon, k)
    		}
    		p.print(_Rbrack)
    
    	case *AssertExpr:
    		p.print(n.X, _Dot, _Lparen, n.Type, _Rparen)
    
    	case *TypeSwitchGuard:
    		if n.Lhs != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/scanner.go

    	case '}':
    		s.nextch()
    		s.nlsemi = true
    		s.tok = _Rbrace
    
    	case ':':
    		s.nextch()
    		if s.ch == '=' {
    			s.nextch()
    			s.tok = _Define
    			break
    		}
    		s.tok = _Colon
    
    	case '.':
    		s.nextch()
    		if isDecimal(s.ch) {
    			s.number(true)
    			break
    		}
    		if s.ch == '.' {
    			s.nextch()
    			if s.ch == '.' {
    				s.nextch()
    				s.tok = _DotDotDot
    				break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/scanner_test.go

    	// delimiters
    	{_Lparen, "(", 0, 0},
    	{_Lbrack, "[", 0, 0},
    	{_Lbrace, "{", 0, 0},
    	{_Rparen, ")", 0, 0},
    	{_Rbrack, "]", 0, 0},
    	{_Rbrace, "}", 0, 0},
    	{_Comma, ",", 0, 0},
    	{_Semi, ";", 0, 0},
    	{_Colon, ":", 0, 0},
    	{_Dot, ".", 0, 0},
    	{_DotDotDot, "...", 0, 0},
    
    	// keywords
    	{_Break, "break", 0, 0},
    	{_Case, "case", 0, 0},
    	{_Chan, "chan", 0, 0},
    	{_Const, "const", 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  7. .github/PULL_REQUEST_TEMPLATE

    + The PR title is formatted as follows: `net/http: frob the quux before blarfing`
      + The package name goes before the colon
      + The part after the colon uses the verb tense + phrase that completes the blank in,
        "This change modifies Go to ___________"
      + Lowercase verb after the colon
      + No trailing period
      + Keep the title as short as possible. ideally under 76 characters or shorter
    + No Markdown
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 02:07:46 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  8. src/go/printer/comment.go

    		return true
    	}
    
    	// "//[a-z0-9]+:[a-z0-9]"
    	// (The // has been removed.)
    	colon := strings.Index(c, ":")
    	if colon <= 0 || colon+1 >= len(c) {
    		return false
    	}
    	for i := 0; i <= colon+1; i++ {
    		if i == colon {
    			continue
    		}
    		b := c[i]
    		if !('a' <= b && b <= 'z' || '0' <= b && b <= '9') {
    			return false
    		}
    	}
    	return true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 07:35:19 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. src/net/nss.go

    		line = trimSpace(removeComment(line))
    		if len(line) == 0 {
    			continue
    		}
    		colon := bytealg.IndexByteString(line, ':')
    		if colon == -1 {
    			conf.err = errors.New("no colon on line")
    			return conf
    		}
    		db := trimSpace(line[:colon])
    		srcs := line[colon+1:]
    		for {
    			srcs = trimSpace(srcs)
    			if len(srcs) == 0 {
    				break
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:15:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/KotlinGrammar.kt

        }
    
        val singleAnnotation by debug {
            annotationMarker * optional(annotationUseSiteTarget) * unescapedAnnotation
        }
    
        val multiAnnotation by debug {
            annotationMarker * optional(annotationUseSiteTarget) * listOfUnescapedAnnotations
        }
    
        val parameter by debug {
            simpleIdentifier * token(COLON) * type
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top