diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/robertkrimen/otto/result.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/robertkrimen/otto/result.go | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Godeps/_workspace/src/github.com/robertkrimen/otto/result.go b/Godeps/_workspace/src/github.com/robertkrimen/otto/result.go deleted file mode 100644 index 63642e7d0..000000000 --- a/Godeps/_workspace/src/github.com/robertkrimen/otto/result.go +++ /dev/null @@ -1,30 +0,0 @@ -package otto - -import () - -type _resultKind int - -const ( - resultNormal _resultKind = iota - resultReturn - resultBreak - resultContinue -) - -type _result struct { - kind _resultKind - value Value - target string -} - -func newReturnResult(value Value) _result { - return _result{resultReturn, value, ""} -} - -func newContinueResult(target string) _result { - return _result{resultContinue, emptyValue, target} -} - -func newBreakResult(target string) _result { - return _result{resultBreak, emptyValue, target} -} |