Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stmtOrNil (0.26 sec)

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

    	c.Body = p.stmtList()
    
    	return c
    }
    
    // stmtOrNil parses a statement if one is present, or else returns nil.
    //
    //	Statement =
    //		Declaration | LabeledStmt | SimpleStmt |
    //		GoStmt | ReturnStmt | BreakStmt | ContinueStmt | GotoStmt |
    //		FallthroughStmt | Block | IfStmt | SwitchStmt | SelectStmt | ForStmt |
    //		DeferStmt .
    func (p *parser) stmtOrNil() Stmt {
    	if trace {
    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