Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for typesDoc (0.19 sec)

  1. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	TypeAXFR  Type = 252
    	TypeALL   Type = 255
    )
    
    var typeNames = map[Type]string{
    	TypeA:     "TypeA",
    	TypeNS:    "TypeNS",
    	TypeCNAME: "TypeCNAME",
    	TypeSOA:   "TypeSOA",
    	TypePTR:   "TypePTR",
    	TypeMX:    "TypeMX",
    	TypeTXT:   "TypeTXT",
    	TypeAAAA:  "TypeAAAA",
    	TypeSRV:   "TypeSRV",
    	TypeOPT:   "TypeOPT",
    	TypeWKS:   "TypeWKS",
    	TypeHINFO: "TypeHINFO",
    	TypeMINFO: "TypeMINFO",
    	TypeAXFR:  "TypeAXFR",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  2. src/go/printer/testdata/parser.go

    	if p.trace {
    		defer un(trace(p, "TypeSpec"))
    	}
    
    	ident := p.parseIdent()
    
    	// Go spec: The scope of a type identifier declared inside a function begins
    	// at the identifier in the TypeSpec and ends at the end of the innermost
    	// containing block.
    	// (Global identifiers are resolved in a separate phase after parsing.)
    	spec := &ast.TypeSpec{doc, ident, nil, nil}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  3. src/go/parser/parser.go

    	}
    	spec.Type = p.parseType()
    }
    
    func (p *parser) parseTypeSpec(doc *ast.CommentGroup, _ token.Token, _ int) ast.Spec {
    	if p.trace {
    		defer un(trace(p, "TypeSpec"))
    	}
    
    	name := p.parseIdent()
    	spec := &ast.TypeSpec{Doc: doc, Name: name}
    
    	if p.tok == token.LBRACK {
    		// spec.Name "[" ...
    		// array/slice type or type parameter list
    		lbrack := p.pos
    		p.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser.go

    	d.NameList = p.nameList(p.name())
    	if p.tok != _EOF && p.tok != _Semi && p.tok != _Rparen {
    		d.Type = p.typeOrNil()
    		if p.gotAssign() {
    			d.Values = p.exprList()
    		}
    	}
    
    	return d
    }
    
    // TypeSpec = identifier [ TypeParams ] [ "=" ] Type .
    func (p *parser) typeDecl(group *Group) Decl {
    	if trace {
    		defer p.trace("typeDecl")()
    	}
    
    	d := new(TypeDecl)
    	d.pos = p.pos()
    	d.Group = group
    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/go/printer/nodes.go

    			p.expr(s.Type)
    		}
    		if s.Values != nil {
    			p.print(blank, token.ASSIGN, blank)
    			p.exprList(token.NoPos, s.Values, 1, 0, token.NoPos, false)
    		}
    		p.setComment(s.Comment)
    
    	case *ast.TypeSpec:
    		p.setComment(s.Doc)
    		p.expr(s.Name)
    		if s.TypeParams != nil {
    			p.parameters(s.TypeParams, typeTParam)
    		}
    		if n == 1 {
    			p.print(blank)
    		} else {
    			p.print(vtab)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/out.go

    		for _, d := range p.Decl {
    			gd, ok := d.(*ast.GenDecl)
    			if !ok || gd.Tok != token.TYPE {
    				continue
    			}
    			for _, spec := range gd.Specs {
    				ts, ok := spec.(*ast.TypeSpec)
    				if !ok {
    					continue
    				}
    				if ts.Name.Name == t.Name {
    					return p.cgoType(ts.Type)
    				}
    			}
    		}
    		if def := typedef[t.Name]; def != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    		for _, d := range p.Decl {
    			gd, ok := d.(*ast.GenDecl)
    			if !ok || gd.Tok != token.TYPE {
    				continue
    			}
    			for _, spec := range gd.Specs {
    				ts, ok := spec.(*ast.TypeSpec)
    				if !ok {
    					continue
    				}
    				if ts.Name.Name == t.Name {
    					return p.hasPointer(f, ts.Type, top)
    				}
    			}
    		}
    		if def := typedef[t.Name]; def != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top