- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for parseGenDecl (0.11 sec)
-
src/go/printer/testdata/parser.go
spec := &ast.ValueSpec{doc, idents, typ, values, p.lineComment} p.declare(spec, p.topScope, ast.Var, idents...) return spec } func (p *parser) parseGenDecl(keyword token.Token, f parseSpecFunction) *ast.GenDecl { if p.trace { defer un(trace(p, "GenDecl("+keyword.String()+")")) } doc := p.leadComment pos := p.expect(keyword)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0) -
src/go/parser/parser.go
return isTypeElem(x.X) || isTypeElem(x.Y) case *ast.UnaryExpr: return x.Op == token.TILDE case *ast.ParenExpr: return isTypeElem(x.X) } return false } func (p *parser) parseGenDecl(keyword token.Token, f parseSpecFunction) *ast.GenDecl { if p.trace { defer un(trace(p, "GenDecl("+keyword.String()+")")) } doc := p.leadComment pos := p.expect(keyword)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0)