1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00
Ugh.
This commit is contained in:
Robert Krimen
2013-01-25 09:59:42 -08:00
parent a13a891d92
commit 20d2e8bba6
48 changed files with 3962 additions and 3971 deletions

View File

@@ -2,9 +2,9 @@ package otto
import (
"fmt"
"reflect"
"sort"
"strings"
"reflect"
)
type _node interface {
@@ -100,7 +100,7 @@ func (self _labelSet) label(target string) string {
// _declaration
type _declaration struct {
Name string
Name string
Definition _node
}
@@ -118,7 +118,7 @@ func _fmtNodeSliceString(input interface{}) string {
return strings.Join(result, " ")
}
func fmtNodeString(argument0 interface{}, arguments... interface{}) string {
func fmtNodeString(argument0 interface{}, arguments ...interface{}) string {
if _, yes := argument0.(string); yes {
return _fmtNodeString(argument0.(string), arguments...)
}
@@ -134,7 +134,7 @@ func fmtNodeString(argument0 interface{}, arguments... interface{}) string {
return result
}
func _fmtNodeString(head string, arguments... interface{}) string {
func _fmtNodeString(head string, arguments ...interface{}) string {
tail := []interface{}{}
for _, argument := range arguments {
value := argument