Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newIndirect (0.11 sec)

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

    			typ = p.qualifiedName(nil)
    		}
    		tag := p.oliteral()
    		p.addField(styp, pos, nil, newIndirect(pos, typ), tag)
    
    	case _Lparen:
    		p.syntaxError("cannot parenthesize embedded type")
    		p.next()
    		var typ Expr
    		if p.tok == _Star {
    			// (*T)
    			pos := p.pos()
    			p.next()
    			typ = newIndirect(pos, p.qualifiedName(nil))
    		} else {
    			// (T)
    			typ = p.qualifiedName(nil)
    		}
    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