메소드 | 설명 | |
---|---|---|
Convert ( |
Pops the value on the stack, converts it to the given type, then pushes the result onto the stack.
|
|
Convert ( |
Pops the value on the stack, converts it to the given type, then pushes the result onto the stack.
|
|
Convert ( |
Pops the value on the stack, converts it to the given type, then pushes the result onto the stack.
|
|
ToAny ( |
Pops the value on the stack, converts it to an object, then pushes the result onto the stack.
|
|
ToBool ( |
Pops the value on the stack, converts it to a boolean, then pushes the boolean result onto the stack.
|
|
ToConcatenatedString ( |
Pops the value on the stack, converts it to a concatenated string, then pushes the result onto the stack.
|
|
ToInt32 ( |
Pops the value on the stack, converts it to an integer, then pushes the integer result onto the stack. Large numbers wrap (i.e. 4294967296 -> 0).
|
|
ToInteger ( |
Pops the value on the stack, converts it to an integer, then pushes the integer result onto the stack.
|
|
ToNumber ( |
Pops the value on the stack, converts it to a double, then pushes the double result onto the stack.
|
|
ToObject ( |
Pops the value on the stack, converts it to a javascript object, then pushes the result onto the stack.
|
|
ToObject ( |
Pops the value on the stack, converts it to a javascript object, then pushes the result onto the stack.
|
|
ToPrimitive ( |
Pops the value on the stack, converts it to a primitive value, then pushes the result onto the stack.
|
|
ToPropertyKey ( |
Pops the value on the stack, converts it to a property key (either a symbol or a string), then pushes the result onto the stack.
|
|
ToString ( |
Pops the value on the stack, converts it to a string, then pushes the result onto the stack.
|
|
ToUInt32 ( |
Pops the value on the stack, converts it to an unsigned integer, then pushes the integer result onto the stack. Large numbers wrap (i.e. 4294967296 -> 0).
|
public static Convert ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
toType | PrimitiveType | The type to convert to. |
리턴 | void |
public static Convert ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
toType | PrimitiveType | The type to convert to. |
optimizationInfo | Information about the line number, function and path. | |
리턴 | void |
public static Convert ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
toType | PrimitiveType | The type to convert to. |
path | string | The path of the javascript source file that is currently executing. |
function | string | The name of the currently executing function. |
line | int | The line number of the statement that is currently executing. |
리턴 | void |
public static ToAny ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
리턴 | void |
public static ToBool ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
리턴 | void |
public static ToConcatenatedString ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
리턴 | void |
public static ToInt32 ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
리턴 | void |
public static ToInteger ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
리턴 | void |
public static ToNumber ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
리턴 | void |
public static ToObject ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
optimizationInfo | Information about the line number, function and path. | |
리턴 | void |
public static ToObject ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
path | string | The path of the javascript source file that is currently executing. |
function | string | The name of the currently executing function. |
line | int | The line number of the statement that is currently executing. |
리턴 | void |
public static ToPrimitive ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
preferredType | PrimitiveTypeHint | Specifies whether toString() or valueOf() should be /// preferred when converting to a primitive. |
리턴 | void |
public static ToPropertyKey ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
리턴 | void |
public static ToString ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
리턴 | void |
public static ToUInt32 ( |
||
generator | The IL generator. | |
fromType | PrimitiveType | The type to convert from. |
리턴 | void |