Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ternary (0.07 sec)

  1. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	if p, ok := b.Op.(hasPrec); ok {
    		return p.prec()
    	}
    	return precDefault
    }
    
    // Trinary is the ?: trinary operation in an expression.
    type Trinary struct {
    	Op     AST
    	First  AST
    	Second AST
    	Third  AST
    }
    
    func (t *Trinary) print(ps *printState) {
    	if isDesignatedInitializer(t) {
    		ps.writeByte('[')
    		ps.print(t.First)
    		ps.writeString(" ... ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
Back to top