Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for dotdotdot (0.29 sec)

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

    	_ = 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]
    	_ = x[_Fallthrough-30]
    	_ = x[_For-31]
    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/tokens.go

    	// 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
    	_Defer       // defer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/printer.go

    	case *ListExpr:
    		p.printExprList(n.ElemList)
    
    	case *ArrayType:
    		var len interface{} = _DotDotDot
    		if n.Len != nil {
    			len = n.Len
    		}
    		p.print(_Lbrack, len, _Rbrack, n.Elem)
    
    	case *SliceType:
    		p.print(_Lbrack, _Rbrack, n.Elem)
    
    	case *DotsType:
    		p.print(_DotDotDot, n.Elem)
    
    	case *StructType:
    		p.print(_Struct)
    		if len(n.FieldList) > 0 && p.linebreaks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser.go

    		t.Elem = p.chanElem()
    		return t
    
    	case _Func:
    		// fntype
    		p.next()
    		_, t := p.funcType("function type")
    		return t
    
    	case _Lbrack:
    		// '[' oexpr ']' ntype
    		// '[' _DotDotDot ']' ntype
    		p.next()
    		if p.got(_Rbrack) {
    			return p.sliceType(pos)
    		}
    		return p.arrayType(pos, nil)
    
    	case _Chan:
    		// _Chan non_recvchantype
    		// _Chan _Comm ntype
    		p.next()
    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. src/cmd/compile/internal/ssagen/ssa.go

    // back to the slice being appended to, and returns nil.
    // inplace MUST be set to false if the slice can be SSA'd.
    // Note: this code only handles fixed-count appends. Dotdotdot appends
    // have already been rewritten at this point (by walk).
    func (s *state) append(n *ir.CallExpr, inplace bool) *ssa.Value {
    	// If inplace is false, process as expression "append(s, e1, e2, e3)":
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/scanner.go

    		}
    		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
    			}
    			s.rewind() // now s.ch holds 1st '.'
    			s.nextch() // consume 1st '.' again
    		}
    		s.tok = _Dot
    
    	case '+':
    		s.nextch()
    		s.op, s.prec = Add, precAdd
    		if s.ch != '+' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/scanner_test.go

    	{_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},
    	{_Continue, "continue", 0, 0},
    	{_Default, "default", 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)
Back to top