- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for expectSemi (0.08 sec)
-
src/go/printer/testdata/parser.go
call := p.parseCallExpr() p.expectSemi() if call == nil { return &ast.BadStmt{pos, pos + 2} // len("go") } return &ast.GoStmt{pos, call} } func (p *parser) parseDeferStmt() ast.Stmt { if p.trace { defer un(trace(p, "DeferStmt")) } pos := p.expect(token.DEFER) call := p.parseCallExpr() p.expectSemi() if call == 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) -
src/go/parser/parser.go
f.Type = p.embeddedElem(f.Type) } f.Comment = p.expectSemi() list = append(list, f) case p.tok == token.TILDE: typ := p.embeddedElem(nil) comment := p.expectSemi() list = append(list, &ast.Field{Type: typ, Comment: comment}) default: if t := p.tryIdentOrType(); t != nil { typ := p.embeddedElem(t) comment := p.expectSemi()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0)