Versions in this module Expand all Collapse all v0 v0.4.0 Jun 23, 2016 v0.3.0 Mar 16, 2016 Changes in this version + func BitLen(x Value) int + func BoolVal(x Value) bool + func Bytes(x Value) []byte + func Compare(x Value, op token.Token, y Value) bool + func Float32Val(x Value) (float32, bool) + func Float64Val(x Value) (float64, bool) + func Int64Val(x Value) (int64, bool) + func Sign(x Value) int + func StringVal(x Value) string + func Uint64Val(x Value) (uint64, bool) + type Kind int + const Bool + const Complex + const Float + const Int + const String + const Unknown + type Value interface + Kind func() Kind + String func() string + func BinaryOp(x Value, op token.Token, y Value) Value + func Denom(x Value) Value + func Imag(x Value) Value + func MakeBool(b bool) Value + func MakeFloat64(x float64) Value + func MakeFromBytes(bytes []byte) Value + func MakeFromLiteral(lit string, tok token.Token, prec uint) Value + func MakeImag(x Value) Value + func MakeInt64(x int64) Value + func MakeString(s string) Value + func MakeUint64(x uint64) Value + func MakeUnknown() Value + func Num(x Value) Value + func Real(x Value) Value + func Shift(x Value, op token.Token, s uint) Value + func UnaryOp(op token.Token, y Value, prec uint) Value