Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for scannerMode (0.15 sec)

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

    	// (maintained by open/close LabelScope)
    	labelScope  *ast.Scope     // label scope for current function
    	targetStack [][]*ast.Ident // stack of unresolved labels
    }
    
    // scannerMode returns the scanner mode bits given the parser's mode bits.
    func scannerMode(mode uint) uint {
    	var m uint = scanner.InsertSemis
    	if mode&ParseComments != 0 {
    		m |= scanner.ScanComments
    	}
    	return m
    }
    
    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