package stdlib
import (
"go/constant"
"reflect"
)
func init() {
Symbols ["go/constant/constant" ] = map [string ]reflect .Value {
"BinaryOp" : reflect .ValueOf (constant .BinaryOp ),
"BitLen" : reflect .ValueOf (constant .BitLen ),
"Bool" : reflect .ValueOf (constant .Bool ),
"BoolVal" : reflect .ValueOf (constant .BoolVal ),
"Bytes" : reflect .ValueOf (constant .Bytes ),
"Compare" : reflect .ValueOf (constant .Compare ),
"Complex" : reflect .ValueOf (constant .Complex ),
"Denom" : reflect .ValueOf (constant .Denom ),
"Float" : reflect .ValueOf (constant .Float ),
"Float32Val" : reflect .ValueOf (constant .Float32Val ),
"Float64Val" : reflect .ValueOf (constant .Float64Val ),
"Imag" : reflect .ValueOf (constant .Imag ),
"Int" : reflect .ValueOf (constant .Int ),
"Int64Val" : reflect .ValueOf (constant .Int64Val ),
"Make" : reflect .ValueOf (constant .Make ),
"MakeBool" : reflect .ValueOf (constant .MakeBool ),
"MakeFloat64" : reflect .ValueOf (constant .MakeFloat64 ),
"MakeFromBytes" : reflect .ValueOf (constant .MakeFromBytes ),
"MakeFromLiteral" : reflect .ValueOf (constant .MakeFromLiteral ),
"MakeImag" : reflect .ValueOf (constant .MakeImag ),
"MakeInt64" : reflect .ValueOf (constant .MakeInt64 ),
"MakeString" : reflect .ValueOf (constant .MakeString ),
"MakeUint64" : reflect .ValueOf (constant .MakeUint64 ),
"MakeUnknown" : reflect .ValueOf (constant .MakeUnknown ),
"Num" : reflect .ValueOf (constant .Num ),
"Real" : reflect .ValueOf (constant .Real ),
"Shift" : reflect .ValueOf (constant .Shift ),
"Sign" : reflect .ValueOf (constant .Sign ),
"String" : reflect .ValueOf (constant .String ),
"StringVal" : reflect .ValueOf (constant .StringVal ),
"ToComplex" : reflect .ValueOf (constant .ToComplex ),
"ToFloat" : reflect .ValueOf (constant .ToFloat ),
"ToInt" : reflect .ValueOf (constant .ToInt ),
"Uint64Val" : reflect .ValueOf (constant .Uint64Val ),
"UnaryOp" : reflect .ValueOf (constant .UnaryOp ),
"Unknown" : reflect .ValueOf (constant .Unknown ),
"Val" : reflect .ValueOf (constant .Val ),
"Kind" : reflect .ValueOf ((*constant .Kind )(nil )),
"Value" : reflect .ValueOf ((*constant .Value )(nil )),
"_Value" : reflect .ValueOf ((*_go_constant_Value )(nil )),
}
}
type _go_constant_Value struct {
IValue interface {}
WExactString func () string
WKind func () constant .Kind
WString func () string
}
func (W _go_constant_Value ) ExactString () string {
return W .WExactString ()
}
func (W _go_constant_Value ) Kind () constant .Kind {
return W .WKind ()
}
func (W _go_constant_Value ) String () string {
if W .WString == nil {
return ""
}
return W .WString ()
}
The pages are generated with Golds v0.8.4 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .