Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseValueSpec (0.1 sec)

  1. src/go/parser/parser.go

    		Name:    ident,
    		Path:    &ast.BasicLit{ValuePos: pos, Kind: token.STRING, Value: path},
    		Comment: comment,
    	}
    	p.imports = append(p.imports, spec)
    
    	return spec
    }
    
    func (p *parser) parseValueSpec(doc *ast.CommentGroup, keyword token.Token, iota int) ast.Spec {
    	if p.trace {
    		defer un(trace(p, keyword.String()+"Spec"))
    	}
    
    	idents := p.parseIdentList()
    	var typ ast.Expr
    	var values []ast.Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
Back to top