Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for typeOrNil (0.08 sec)

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

    	}
    
    	typ := p.typeOrNil()
    	if typ == nil {
    		typ = p.badExpr()
    		p.syntaxError("expected type")
    		p.advance(_Comma, _Colon, _Semi, _Rparen, _Rbrack, _Rbrace)
    	}
    
    	return typ
    }
    
    func newIndirect(pos Pos, typ Expr) Expr {
    	o := new(Operation)
    	o.pos = pos
    	o.Op = Mul
    	o.X = typ
    	return o
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top