MCPcopy Index your code
hub / github.com/Shopify/go-lua / unaryOp

Function unaryOp

parser.go:200–210  ·  view source on GitHub ↗
(op rune)

Source from the content-addressed store, hash-verified

198}
199
200func unaryOp(op rune) int {
201 switch op {
202 case tkNot:
203 return oprNot
204 case '-':
205 return oprMinus
206 case '#':
207 return oprLength
208 }
209 return oprNoUnary
210}
211
212func binaryOp(op rune) int {
213 switch op {

Callers 1

subExpressionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected