Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/go/printer/testdata/parser.go

    	}
    
    	return
    }
    
    func (p *parser) parseLhsList() []ast.Expr {
    	list := p.parseExprList(true)
    	switch p.tok {
    	case token.DEFINE:
    		// lhs of a short variable declaration
    		p.shortVarDecl(p.makeIdentList(list))
    	case token.COLON:
    		// lhs of a label declaration or a communication clause of a select
    		// statement (parseLhsList is not called when parsing the case clause
    		// of a switch statement):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
Back to top