testOp reports whether current item name is an operand op.
(r *scanner, op string)
| 128 | |
| 129 | // testOp reports whether current item name is an operand op. |
| 130 | func testOp(r *scanner, op string) bool { |
| 131 | return r.typ == itemName && r.prefix == "" && r.name == op |
| 132 | } |
| 133 | |
| 134 | func isPrimaryExpr(r *scanner) bool { |
| 135 | switch r.typ { |
no outgoing calls
no test coverage detected
searching dependent graphs…