Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.constant
  • Platforms: .NET, .NET Standard 2.0, Island

 

BinaryOp

 

class method BinaryOp(x: Value; op: Token; y: Value): Value

 

static Value BinaryOp(Value x, Token op, Value y)

 

static func BinaryOp(_ x: Value, _ op: Token, _ y: Value) -> Value

 

func BinaryOp(x_ Value, op Token, y_ Value) Value

 

Shared Function BinaryOp(x_ As Value, op As Token, y_ As Value) As Value

Parameters:

  • x_:
  • op:
  • y_:

BitLen

 

class method BitLen(x: Value): int

 

static int BitLen(Value x)

 

static func BitLen(_ x: Value) -> int

 

func BitLen(x Value) int

 

Shared Function BitLen(x As Value) As int

Parameters:

  • x:

Bool

 

const Bool: Kind = 1;

 

const Kind Bool = 1

 

static let Bool: Kind = 1

 

const Bool Kind = 1

 

Dim Bool As Kind = 1

BoolVal

 

class method BoolVal(x: Value): bool

 

static bool BoolVal(Value x)

 

static func BoolVal(_ x: Value) -> bool

 

func BoolVal(x Value) bool

 

Shared Function BoolVal(x As Value) As bool

Parameters:

  • x:

Bytes

 

class method Bytes(x: Value): Slice<Byte>

 

static Slice<Byte> Bytes(Value x)

 

static func Bytes(_ x: Value) -> Slice<Byte>

 

func Bytes(x Value) Slice<Byte>

 

Shared Function Bytes(x As Value) As Slice<Byte>

Parameters:

  • x:

Compare

 

class method Compare(x: Value; op: Token; y: Value): bool

 

static bool Compare(Value x, Token op, Value y)

 

static func Compare(_ x: Value, _ op: Token, _ y: Value) -> bool

 

func Compare(x_ Value, op Token, y_ Value) bool

 

Shared Function Compare(x_ As Value, op As Token, y_ As Value) As bool

Parameters:

  • x_:
  • op:
  • y_:

Complex

 

const Complex: Kind = 5;

 

const Kind Complex = 5

 

static let Complex: Kind = 5

 

const Complex Kind = 5

 

Dim Complex As Kind = 5

Denom

 

class method Denom(x: Value): Value

 

static Value Denom(Value x)

 

static func Denom(_ x: Value) -> Value

 

func Denom(x Value) Value

 

Shared Function Denom(x As Value) As Value

Parameters:

  • x:

Float

 

const Float: Kind = 4;

 

const Kind Float = 4

 

static let Float: Kind = 4

 

const Float Kind = 4

 

Dim Float As Kind = 4

Float32Val

 

class method Float32Val(x: Value): tuple of (Single, Boolean)

 

static (Single, Boolean) Float32Val(Value x)

 

static func Float32Val(_ x: Value) -> (Single, Boolean)

 

func Float32Val(x Value) tuple of (Single, Boolean)

 

Shared Function Float32Val(x As Value) As Tuple (Of Single, Boolean)

Parameters:

  • x:

Float64Val

 

class method Float64Val(x: Value): tuple of (Double, Boolean)

 

static (Double, Boolean) Float64Val(Value x)

 

static func Float64Val(_ x: Value) -> (Double, Boolean)

 

func Float64Val(x Value) tuple of (Double, Boolean)

 

Shared Function Float64Val(x As Value) As Tuple (Of Double, Boolean)

Parameters:

  • x:

Imag

 

class method Imag(x: Value): Value

 

static Value Imag(Value x)

 

static func Imag(_ x: Value) -> Value

 

func Imag(x Value) Value

 

Shared Function Imag(x As Value) As Value

Parameters:

  • x:

Int

 

const Int: Kind = 3;

 

const Kind Int = 3

 

static let Int: Kind = 3

 

const Int Kind = 3

 

Dim Int As Kind = 3

Int64Val

 

class method Int64Val(x: Value): tuple of (int64, Boolean)

 

static (int64, Boolean) Int64Val(Value x)

 

static func Int64Val(_ x: Value) -> (int64, Boolean)

 

func Int64Val(x Value) tuple of (int64, Boolean)

 

Shared Function Int64Val(x As Value) As Tuple (Of int64, Boolean)

Parameters:

  • x:

Make

 

class method Make(x: Object): Value

 

static Value Make(Object x)

 

static func Make(_ x: Object) -> Value

 

func Make(x interface{}) Value

 

Shared Function Make(x As Object) As Value

Parameters:

  • x:

MakeBool

 

class method MakeBool(b: bool): Value

 

static Value MakeBool(bool b)

 

static func MakeBool(_ b: bool) -> Value

 

func MakeBool(b bool) Value

 

Shared Function MakeBool(b As bool) As Value

Parameters:

  • b:

MakeFloat64

 

class method MakeFloat64(x: float64): Value

 

static Value MakeFloat64(float64 x)

 

static func MakeFloat64(_ x: float64) -> Value

 

func MakeFloat64(x float64) Value

 

Shared Function MakeFloat64(x As float64) As Value

Parameters:

  • x:

MakeFromBytes

 

class method MakeFromBytes(bytes: Slice<Byte>): Value

 

static Value MakeFromBytes(Slice<Byte> bytes)

 

static func MakeFromBytes(_ bytes: Slice<Byte>) -> Value

 

func MakeFromBytes(bytes Slice<Byte>) Value

 

Shared Function MakeFromBytes(bytes As Slice<Byte>) As Value

Parameters:

  • bytes:

MakeFromLiteral

 

class method MakeFromLiteral(lit: string; tok: Token; zero: uint): Value

 

static Value MakeFromLiteral(string lit, Token tok, uint zero)

 

static func MakeFromLiteral(_ lit: string, _ tok: Token, _ zero: uint) -> Value

 

func MakeFromLiteral(lit string, tok Token, zero uint) Value

 

Shared Function MakeFromLiteral(lit As string, tok As Token, zero As uint) As Value

Parameters:

  • lit:
  • tok:
  • zero:

MakeImag

 

class method MakeImag(x: Value): Value

 

static Value MakeImag(Value x)

 

static func MakeImag(_ x: Value) -> Value

 

func MakeImag(x Value) Value

 

Shared Function MakeImag(x As Value) As Value

Parameters:

  • x:

MakeInt64

 

class method MakeInt64(x: int64): Value

 

static Value MakeInt64(int64 x)

 

static func MakeInt64(_ x: int64) -> Value

 

func MakeInt64(x int64) Value

 

Shared Function MakeInt64(x As int64) As Value

Parameters:

  • x:

MakeString

 

class method MakeString(s: string): Value

 

static Value MakeString(string s)

 

static func MakeString(_ s: string) -> Value

 

func MakeString(s string) Value

 

Shared Function MakeString(s As string) As Value

Parameters:

  • s:

MakeUint64

 

class method MakeUint64(x: uint64): Value

 

static Value MakeUint64(uint64 x)

 

static func MakeUint64(_ x: uint64) -> Value

 

func MakeUint64(x uint64) Value

 

Shared Function MakeUint64(x As uint64) As Value

Parameters:

  • x:

MakeUnknown

 

class method MakeUnknown: Value

 

static Value MakeUnknown()

 

static func MakeUnknown() -> Value

 

func MakeUnknown() Value

 

Shared Function MakeUnknown() As Value

Num

 

class method Num(x: Value): Value

 

static Value Num(Value x)

 

static func Num(_ x: Value) -> Value

 

func Num(x Value) Value

 

Shared Function Num(x As Value) As Value

Parameters:

  • x:

Real

 

class method Real(x: Value): Value

 

static Value Real(Value x)

 

static func Real(_ x: Value) -> Value

 

func Real(x Value) Value

 

Shared Function Real(x As Value) As Value

Parameters:

  • x:

Shift

 

class method Shift(x: Value; op: Token; s: uint): Value

 

static Value Shift(Value x, Token op, uint s)

 

static func Shift(_ x: Value, _ op: Token, _ s: uint) -> Value

 

func Shift(x Value, op Token, s uint) Value

 

Shared Function Shift(x As Value, op As Token, s As uint) As Value

Parameters:

  • x:
  • op:
  • s:

Sign

 

class method Sign(x: Value): int

 

static int Sign(Value x)

 

static func Sign(_ x: Value) -> int

 

func Sign(x Value) int

 

Shared Function Sign(x As Value) As int

Parameters:

  • x:

String

 

const String: Kind = 2;

 

const Kind String = 2

 

static let String: Kind = 2

 

const String Kind = 2

 

Dim String As Kind = 2

StringVal

 

class method StringVal(x: Value): string

 

static string StringVal(Value x)

 

static func StringVal(_ x: Value) -> string

 

func StringVal(x Value) string

 

Shared Function StringVal(x As Value) As string

Parameters:

  • x:

ToComplex

 

class method ToComplex(x: Value): Value

 

static Value ToComplex(Value x)

 

static func ToComplex(_ x: Value) -> Value

 

func ToComplex(x Value) Value

 

Shared Function ToComplex(x As Value) As Value

Parameters:

  • x:

ToFloat

 

class method ToFloat(x: Value): Value

 

static Value ToFloat(Value x)

 

static func ToFloat(_ x: Value) -> Value

 

func ToFloat(x Value) Value

 

Shared Function ToFloat(x As Value) As Value

Parameters:

  • x:

ToInt

 

class method ToInt(x: Value): Value

 

static Value ToInt(Value x)

 

static func ToInt(_ x: Value) -> Value

 

func ToInt(x Value) Value

 

Shared Function ToInt(x As Value) As Value

Parameters:

  • x:

Uint64Val

 

class method Uint64Val(x: Value): tuple of (uint64, Boolean)

 

static (uint64, Boolean) Uint64Val(Value x)

 

static func Uint64Val(_ x: Value) -> (uint64, Boolean)

 

func Uint64Val(x Value) tuple of (uint64, Boolean)

 

Shared Function Uint64Val(x As Value) As Tuple (Of uint64, Boolean)

Parameters:

  • x:

UnaryOp

 

class method UnaryOp(op: Token; y: Value; prec: uint): Value

 

static Value UnaryOp(Token op, Value y, uint prec)

 

static func UnaryOp(_ op: Token, _ y: Value, _ prec: uint) -> Value

 

func UnaryOp(op Token, y Value, prec uint) Value

 

Shared Function UnaryOp(op As Token, y As Value, prec As uint) As Value

Parameters:

  • op:
  • y:
  • prec:

Unknown

 

const Unknown: Kind = 0;

 

const Kind Unknown = 0

 

static let Unknown: Kind = 0

 

const Unknown Kind = 0

 

Dim Unknown As Kind = 0

Val

 

class method Val(x: Value): Object

 

static Object Val(Value x)

 

static func Val(_ x: Value) -> Object

 

func Val(x Value) interface{}

 

Shared Function Val(x As Value) As Object

Parameters:

  • x:

 

Bool

 

const Bool: Kind = 1;

 

const Kind Bool = 1

 

static let Bool: Kind = 1

 

const Bool Kind = 1

 

Dim Bool As Kind = 1

Complex

 

const Complex: Kind = 5;

 

const Kind Complex = 5

 

static let Complex: Kind = 5

 

const Complex Kind = 5

 

Dim Complex As Kind = 5

Float

 

const Float: Kind = 4;

 

const Kind Float = 4

 

static let Float: Kind = 4

 

const Float Kind = 4

 

Dim Float As Kind = 4

Int

 

const Int: Kind = 3;

 

const Kind Int = 3

 

static let Int: Kind = 3

 

const Int Kind = 3

 

Dim Int As Kind = 3

String

 

const String: Kind = 2;

 

const Kind String = 2

 

static let String: Kind = 2

 

const String Kind = 2

 

Dim String As Kind = 2

Unknown

 

const Unknown: Kind = 0;

 

const Kind Unknown = 0

 

static let Unknown: Kind = 0

 

const Unknown Kind = 0

 

Dim Unknown As Kind = 0

 

BinaryOp

 

class method BinaryOp(x: Value; op: Token; y: Value): Value

 

static Value BinaryOp(Value x, Token op, Value y)

 

static func BinaryOp(_ x: Value, _ op: Token, _ y: Value) -> Value

 

func BinaryOp(x_ Value, op Token, y_ Value) Value

 

Shared Function BinaryOp(x_ As Value, op As Token, y_ As Value) As Value

Parameters:

  • x_:
  • op:
  • y_:

BitLen

 

class method BitLen(x: Value): int

 

static int BitLen(Value x)

 

static func BitLen(_ x: Value) -> int

 

func BitLen(x Value) int

 

Shared Function BitLen(x As Value) As int

Parameters:

  • x:

BoolVal

 

class method BoolVal(x: Value): bool

 

static bool BoolVal(Value x)

 

static func BoolVal(_ x: Value) -> bool

 

func BoolVal(x Value) bool

 

Shared Function BoolVal(x As Value) As bool

Parameters:

  • x:

Bytes

 

class method Bytes(x: Value): Slice<Byte>

 

static Slice<Byte> Bytes(Value x)

 

static func Bytes(_ x: Value) -> Slice<Byte>

 

func Bytes(x Value) Slice<Byte>

 

Shared Function Bytes(x As Value) As Slice<Byte>

Parameters:

  • x:

Compare

 

class method Compare(x: Value; op: Token; y: Value): bool

 

static bool Compare(Value x, Token op, Value y)

 

static func Compare(_ x: Value, _ op: Token, _ y: Value) -> bool

 

func Compare(x_ Value, op Token, y_ Value) bool

 

Shared Function Compare(x_ As Value, op As Token, y_ As Value) As bool

Parameters:

  • x_:
  • op:
  • y_:

Denom

 

class method Denom(x: Value): Value

 

static Value Denom(Value x)

 

static func Denom(_ x: Value) -> Value

 

func Denom(x Value) Value

 

Shared Function Denom(x As Value) As Value

Parameters:

  • x:

Float32Val

 

class method Float32Val(x: Value): tuple of (Single, Boolean)

 

static (Single, Boolean) Float32Val(Value x)

 

static func Float32Val(_ x: Value) -> (Single, Boolean)

 

func Float32Val(x Value) tuple of (Single, Boolean)

 

Shared Function Float32Val(x As Value) As Tuple (Of Single, Boolean)

Parameters:

  • x:

Float64Val

 

class method Float64Val(x: Value): tuple of (Double, Boolean)

 

static (Double, Boolean) Float64Val(Value x)

 

static func Float64Val(_ x: Value) -> (Double, Boolean)

 

func Float64Val(x Value) tuple of (Double, Boolean)

 

Shared Function Float64Val(x As Value) As Tuple (Of Double, Boolean)

Parameters:

  • x:

Imag

 

class method Imag(x: Value): Value

 

static Value Imag(Value x)

 

static func Imag(_ x: Value) -> Value

 

func Imag(x Value) Value

 

Shared Function Imag(x As Value) As Value

Parameters:

  • x:

Int64Val

 

class method Int64Val(x: Value): tuple of (int64, Boolean)

 

static (int64, Boolean) Int64Val(Value x)

 

static func Int64Val(_ x: Value) -> (int64, Boolean)

 

func Int64Val(x Value) tuple of (int64, Boolean)

 

Shared Function Int64Val(x As Value) As Tuple (Of int64, Boolean)

Parameters:

  • x:

Make

 

class method Make(x: Object): Value

 

static Value Make(Object x)

 

static func Make(_ x: Object) -> Value

 

func Make(x interface{}) Value

 

Shared Function Make(x As Object) As Value

Parameters:

  • x:

MakeBool

 

class method MakeBool(b: bool): Value

 

static Value MakeBool(bool b)

 

static func MakeBool(_ b: bool) -> Value

 

func MakeBool(b bool) Value

 

Shared Function MakeBool(b As bool) As Value

Parameters:

  • b:

MakeFloat64

 

class method MakeFloat64(x: float64): Value

 

static Value MakeFloat64(float64 x)

 

static func MakeFloat64(_ x: float64) -> Value

 

func MakeFloat64(x float64) Value

 

Shared Function MakeFloat64(x As float64) As Value

Parameters:

  • x:

MakeFromBytes

 

class method MakeFromBytes(bytes: Slice<Byte>): Value

 

static Value MakeFromBytes(Slice<Byte> bytes)

 

static func MakeFromBytes(_ bytes: Slice<Byte>) -> Value

 

func MakeFromBytes(bytes Slice<Byte>) Value

 

Shared Function MakeFromBytes(bytes As Slice<Byte>) As Value

Parameters:

  • bytes:

MakeFromLiteral

 

class method MakeFromLiteral(lit: string; tok: Token; zero: uint): Value

 

static Value MakeFromLiteral(string lit, Token tok, uint zero)

 

static func MakeFromLiteral(_ lit: string, _ tok: Token, _ zero: uint) -> Value

 

func MakeFromLiteral(lit string, tok Token, zero uint) Value

 

Shared Function MakeFromLiteral(lit As string, tok As Token, zero As uint) As Value

Parameters:

  • lit:
  • tok:
  • zero:

MakeImag

 

class method MakeImag(x: Value): Value

 

static Value MakeImag(Value x)

 

static func MakeImag(_ x: Value) -> Value

 

func MakeImag(x Value) Value

 

Shared Function MakeImag(x As Value) As Value

Parameters:

  • x:

MakeInt64

 

class method MakeInt64(x: int64): Value

 

static Value MakeInt64(int64 x)

 

static func MakeInt64(_ x: int64) -> Value

 

func MakeInt64(x int64) Value

 

Shared Function MakeInt64(x As int64) As Value

Parameters:

  • x:

MakeString

 

class method MakeString(s: string): Value

 

static Value MakeString(string s)

 

static func MakeString(_ s: string) -> Value

 

func MakeString(s string) Value

 

Shared Function MakeString(s As string) As Value

Parameters:

  • s:

MakeUint64

 

class method MakeUint64(x: uint64): Value

 

static Value MakeUint64(uint64 x)

 

static func MakeUint64(_ x: uint64) -> Value

 

func MakeUint64(x uint64) Value

 

Shared Function MakeUint64(x As uint64) As Value

Parameters:

  • x:

MakeUnknown

 

class method MakeUnknown: Value

 

static Value MakeUnknown()

 

static func MakeUnknown() -> Value

 

func MakeUnknown() Value

 

Shared Function MakeUnknown() As Value

Num

 

class method Num(x: Value): Value

 

static Value Num(Value x)

 

static func Num(_ x: Value) -> Value

 

func Num(x Value) Value

 

Shared Function Num(x As Value) As Value

Parameters:

  • x:

Real

 

class method Real(x: Value): Value

 

static Value Real(Value x)

 

static func Real(_ x: Value) -> Value

 

func Real(x Value) Value

 

Shared Function Real(x As Value) As Value

Parameters:

  • x:

Shift

 

class method Shift(x: Value; op: Token; s: uint): Value

 

static Value Shift(Value x, Token op, uint s)

 

static func Shift(_ x: Value, _ op: Token, _ s: uint) -> Value

 

func Shift(x Value, op Token, s uint) Value

 

Shared Function Shift(x As Value, op As Token, s As uint) As Value

Parameters:

  • x:
  • op:
  • s:

Sign

 

class method Sign(x: Value): int

 

static int Sign(Value x)

 

static func Sign(_ x: Value) -> int

 

func Sign(x Value) int

 

Shared Function Sign(x As Value) As int

Parameters:

  • x:

StringVal

 

class method StringVal(x: Value): string

 

static string StringVal(Value x)

 

static func StringVal(_ x: Value) -> string

 

func StringVal(x Value) string

 

Shared Function StringVal(x As Value) As string

Parameters:

  • x:

ToComplex

 

class method ToComplex(x: Value): Value

 

static Value ToComplex(Value x)

 

static func ToComplex(_ x: Value) -> Value

 

func ToComplex(x Value) Value

 

Shared Function ToComplex(x As Value) As Value

Parameters:

  • x:

ToFloat

 

class method ToFloat(x: Value): Value

 

static Value ToFloat(Value x)

 

static func ToFloat(_ x: Value) -> Value

 

func ToFloat(x Value) Value

 

Shared Function ToFloat(x As Value) As Value

Parameters:

  • x:

ToInt

 

class method ToInt(x: Value): Value

 

static Value ToInt(Value x)

 

static func ToInt(_ x: Value) -> Value

 

func ToInt(x Value) Value

 

Shared Function ToInt(x As Value) As Value

Parameters:

  • x:

Uint64Val

 

class method Uint64Val(x: Value): tuple of (uint64, Boolean)

 

static (uint64, Boolean) Uint64Val(Value x)

 

static func Uint64Val(_ x: Value) -> (uint64, Boolean)

 

func Uint64Val(x Value) tuple of (uint64, Boolean)

 

Shared Function Uint64Val(x As Value) As Tuple (Of uint64, Boolean)

Parameters:

  • x:

UnaryOp

 

class method UnaryOp(op: Token; y: Value; prec: uint): Value

 

static Value UnaryOp(Token op, Value y, uint prec)

 

static func UnaryOp(_ op: Token, _ y: Value, _ prec: uint) -> Value

 

func UnaryOp(op Token, y Value, prec uint) Value

 

Shared Function UnaryOp(op As Token, y As Value, prec As uint) As Value

Parameters:

  • op:
  • y:
  • prec:

Val

 

class method Val(x: Value): Object

 

static Object Val(Value x)

 

static func Val(_ x: Value) -> Object

 

func Val(x Value) interface{}

 

Shared Function Val(x As Value) As Object

Parameters:

  • x: