Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for OLITERAL (0.06 sec)

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

    			if typ, ok := typ.(*IndexExpr); ok {
    				// embedded type T[P1, P2, ...]
    				typ.X = name // name == names[0]
    				tag := p.oliteral()
    				p.addField(styp, pos, nil, typ, tag)
    				break
    			}
    		} else {
    			// T P
    			typ = p.type_()
    		}
    
    		tag := p.oliteral()
    
    		for _, name := range names {
    			p.addField(styp, name.Pos(), name, typ, tag)
    		}
    
    	case _Star:
    		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)
Back to top