Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fieldDecl (0.07 sec)

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

    		panic("inconsistent struct field list")
    	}
    }
    
    // FieldDecl      = (IdentifierList Type | AnonymousField) [ Tag ] .
    // AnonymousField = [ "*" ] TypeName .
    // Tag            = string_lit .
    func (p *parser) fieldDecl(styp *StructType) {
    	if trace {
    		defer p.trace("fieldDecl")()
    	}
    
    	pos := p.pos()
    	switch p.tok {
    	case _Name:
    		name := p.name()
    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