C# 클래스 Rhino.ScriptRuntime

This is the class that implements the runtime.
This is the class that implements the runtime.
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BooleanClass System.Type
ByteClass System.Type
CharacterClass System.Type
ClassClass System.Type
ContextClass System.Type
ContextFactoryClass System.Type
DateClass System.Type
DoubleClass System.Type
FloatClass System.Type
FunctionClass System.Type
IntegerClass System.Type
LongClass System.Type
NaN double
NaNobj double
NumberClass System.Type
ObjectClass System.Type
ROOT_LOCALE System.Globalization.CultureInfo
ScriptableClass System.Type
ScriptableObjectClass System.Type
ShortClass System.Type
StringClass System.Type
emptyArgs object[]
emptyStrings string[]
messageProvider ScriptRuntime.MessageProvider
negativeZero double

공개 메소드들

메소드 설명
Add ( Sharpen.CharSequence val1, object val2 ) : Sharpen.CharSequence
Add ( object val1, Sharpen.CharSequence val2 ) : Sharpen.CharSequence
Add ( object val1, object val2, Context cx ) : object
AddInstructionCount ( Context cx, int instructionsToAdd ) : void
ApplyOrCall ( bool isApply, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object

Function.prototype.apply and Function.prototype.call See Ecma 15.3.4.[34]

Bind ( Context cx, Scriptable scope, string id ) : Scriptable

Returns the object in the scope chain that has a given property.

Returns the object in the scope chain that has a given property. The order of evaluation of an assignment expression involves evaluating the lhs to a reference, evaluating the rhs, and then modifying the reference with the rhs value. This method is used to 'bind' the given name to an object containing that property so that the side effects of evaluating the rhs do not affect which property is modified. Typically used in conjunction with setName. See ECMA 10.1.4

CallRef ( Callable function, Scriptable thisObj, object args, Context cx ) : Ref

Perform function call in reference context.

Perform function call in reference context. Should always return value that can be passed to RefGet(Ref, Context) or RefSet(Ref, object, Context) arbitrary number of times. The args array reference should not be stored in any object that is can be GC-reachable after this method returns. If this is necessary, store args.clone(), not args array itself.

CallSpecial ( Context cx, Callable fun, Scriptable thisObj, object args, Scriptable scope, Scriptable callerThis, int callType, string filename, int lineNumber ) : object
CheckRegExpProxy ( Context cx ) : RegExpProxy
Cmp_LE ( object val1, object val2 ) : bool
Cmp_LT ( object val1, object val2 ) : bool
ConstructError ( string error, string message ) : EcmaError
ConstructError ( string error, string message, int lineNumberDelta ) : EcmaError
ConstructError ( string error, string message, string sourceName, int lineNumber, string lineSource, int columnNumber ) : EcmaError
CreateFunctionActivation ( NativeFunction funObj, Scriptable scope, object args ) : Scriptable
Delete ( object obj, object id, Context cx, bool isName ) : object

The delete operator See ECMA 11.4.1 In ECMA 0.19, the description of the delete operator (11.4.1) assumes that the [[Delete]] method returns a value.

The delete operator See ECMA 11.4.1 In ECMA 0.19, the description of the delete operator (11.4.1) assumes that the [[Delete]] method returns a value. However, the definition of the [[Delete]] operator (8.6.2.5) does not define a return value. Here we assume that the [[Delete]] method doesn't return a value.

DeleteObjectElem ( Scriptable target, object elem, Context cx ) : bool
DoTopCall ( Callable callable, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
ElemIncrDecr ( object obj, object index, Context cx, int incrDecrMask ) : object
EnterActivationFunction ( Context cx, Scriptable scope ) : void
EnterDotQuery ( object value, Scriptable scope ) : Scriptable
EnterWith ( object obj, Context cx, Scriptable scope ) : Scriptable
EnumId ( object enumObj, Context cx ) : object
EnumInit ( object value, Context cx, bool enumValues ) : object
EnumInit ( object value, Context cx, int enumType ) : object
EnumNext ( object enumObj ) : bool
EnumValue ( object enumObj, Context cx ) : object
Eq ( object x, object y ) : bool

Equality See ECMA 11.9

EscapeAttributeValue ( object value, Context cx ) : string

Escapes the reserved characters in a value of an attribute

EscapeString ( string s ) : string
EscapeString ( string s, char escapeQuote ) : string

For escaping strings printed by object and array literals; not quite the same as 'escape.'

EscapeTextValue ( object value, Context cx ) : string

Escapes the reserved characters in a value of a text node

EvalSpecial ( Context cx, Scriptable scope, object thisArg, object args, string filename, int lineNumber ) : object

The eval function property of the global object.

The eval function property of the global object. See ECMA 15.1.2.1

ExitActivationFunction ( Context cx ) : void
GetArrayElements ( Scriptable @object ) : object[]
GetElemFunctionAndThis ( object obj, object elem, Context cx ) : Callable

Prepare for calling obj[id](...): return function corresponding to obj[id] and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.

Prepare for calling obj[id](...): return function corresponding to obj[id] and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. The caller must call ScriptRuntime.lastStoredScriptable() immediately after calling this method.

GetGlobal ( Context cx ) : ScriptableObject
GetLibraryScopeOrNull ( Scriptable scope ) : ScriptableObject
GetMessage ( string messageId, object arguments ) : string
GetMessage0 ( string messageId ) : string
GetMessage1 ( string messageId, object arg1 ) : string
GetMessage2 ( string messageId, object arg1, object arg2 ) : string
GetMessage3 ( string messageId, object arg1, object arg2, object arg3 ) : string
GetMessage4 ( string messageId, object arg1, object arg2, object arg3, object arg4 ) : string
GetNameFunctionAndThis ( string name, Context cx, Scriptable scope ) : Callable

Prepare for calling name(...): return function corresponding to name and make current top scope available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.

Prepare for calling name(...): return function corresponding to name and make current top scope available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. The caller must call ScriptRuntime.lastStoredScriptable() immediately after calling this method.

GetObjectElem ( Scriptable obj, object elem, Context cx ) : object
GetObjectElem ( object obj, object elem, Context cx ) : object

Call obj.[[Get]](id)

GetObjectElem ( object obj, object elem, Context cx, Scriptable scope ) : object

Call obj.[[Get]](id)

GetObjectIndex ( Scriptable obj, int index, Context cx ) : object
GetObjectIndex ( object obj, double dblIndex, Context cx ) : object
GetObjectProp ( Scriptable obj, string property, Context cx ) : object
GetObjectProp ( object obj, string property, Context cx ) : object

Version of getObjectElem when elem is a valid JS identifier name.

Version of getObjectElem when elem is a valid JS identifier name.

GetObjectProp ( object obj, string property, Context cx, Scriptable scope ) : object
GetObjectPropNoWarn ( object obj, string property, Context cx ) : object
GetPropFunctionAndThis ( object obj, string property, Context cx ) : Callable

Prepare for calling obj.property(...): return function corresponding to obj.property and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.

Prepare for calling obj.property(...): return function corresponding to obj.property and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. The caller must call ScriptRuntime.lastStoredScriptable() immediately after calling this method. Warning: this doesn't allow to resolve primitive prototype properly when many top scopes are involved.

GetPropFunctionAndThis ( object obj, string property, Context cx, Scriptable scope ) : Callable

Prepare for calling obj.property(...): return function corresponding to obj.property and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.

Prepare for calling obj.property(...): return function corresponding to obj.property and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. The caller must call ScriptRuntime.lastStoredScriptable() immediately after calling this method.

GetRegExpProxy ( Context cx ) : RegExpProxy
GetTopCallScope ( Context cx ) : Scriptable
GetTopLevelProp ( Scriptable scope, string id ) : object
GetValueFunctionAndThis ( object value, Context cx ) : Callable

Prepare for calling (...): return function corresponding to and make parent scope of the function available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.

Prepare for calling (...): return function corresponding to and make parent scope of the function available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. The caller must call ScriptRuntime.lastStoredScriptable() immediately after calling this method.

HasObjectElem ( Scriptable target, object elem, Context cx ) : bool
HasTopCall ( Context cx ) : bool
In ( object a, object b, Context cx ) : bool

The in operator.

The in operator. This is a new JS 1.3 language feature. The in operator mirrors the operation of the for .. in construct, and tests whether the rhs has the property given by the lhs. It is different from the for .. in construct in that:
- it doesn't perform ToObject on the right hand side
- it returns true for DontEnum properties.

IndexFromString ( string str ) : long

Return -1L if str is not an index, or the index value as lower 32 bits of the result.

Return -1L if str is not an index, or the index value as lower 32 bits of the result. Note that the result needs to be cast to an int in order to produce the actual index, which may be negative.

InitFunction ( Context cx, Scriptable scope, NativeFunction function, int type, bool fromEvalCode ) : void
InitScript ( NativeFunction funObj, Scriptable thisObj, Context cx, Scriptable scope, bool evalScript ) : void
InitStandardObjects ( Context cx, ScriptableObject scope, bool @sealed ) : ScriptableObject
InstanceOf ( object a, object b, Context cx ) : bool

The instanceof operator.

The instanceof operator.

IsArrayObject ( object obj ) : bool
IsJSLineTerminator ( int c ) : bool
IsJSWhitespaceOrLineTerminator ( int c ) : bool
IsPrimitive ( object obj ) : bool
IsRhinoRuntimeType ( Type cl ) : bool
JsDelegatesTo ( Scriptable lhs, Scriptable rhs ) : bool

Delegates to

LastStoredScriptable ( Context cx ) : Scriptable
LastUint32Result ( Context cx ) : long
LeaveDotQuery ( Scriptable scope ) : Scriptable
LeaveWith ( Scriptable scope ) : Scriptable
MemberRef ( object obj, object elem, Context cx, int memberTypeFlags ) : Ref
MemberRef ( object obj, object @namespace, object elem, Context cx, int memberTypeFlags ) : Ref
Name ( Context cx, Scriptable scope, string name ) : object

Looks up a name in the scope chain and returns its value.

Looks up a name in the scope chain and returns its value.

NameIncrDecr ( Scriptable scopeChain, string id, Context cx, int incrDecrMask ) : object
NameRef ( object name, Context cx, Scriptable scope, int memberTypeFlags ) : Ref
NameRef ( object @namespace, object name, Context cx, Scriptable scope, int memberTypeFlags ) : Ref
NewArrayLiteral ( object objects, int skipIndices, Context cx, Scriptable scope ) : Scriptable
NewBuiltinObject ( Context cx, Scriptable scope, TopLevel type, object args ) : Scriptable
NewCatchScope ( Exception t, Scriptable lastCatchScope, string exceptionName, Context cx, Scriptable scope ) : Scriptable
NewObject ( Context cx, Scriptable scope, string constructorName, object args ) : Scriptable
NewObject ( object fun, Context cx, Scriptable scope, object args ) : Scriptable

Operator new.

Operator new. See ECMA 11.2.2

NewObjectLiteral ( object propertyIds, object propertyValues, int getterSetters, Context cx, Scriptable scope ) : Scriptable
NewSpecial ( Context cx, object fun, object args, Scriptable scope, int callType ) : object
NotFoundError ( Scriptable @object, string property ) : Exception
NotFunctionError ( object value ) : Exception
NotFunctionError ( object value, object messageHelper ) : Exception
NotFunctionError ( object obj, object value, string propertyName ) : Exception
NumberToString ( double d, int @base ) : string
PadArguments ( object args, int count ) : object[]

Helper function for builtin objects that use the varargs form.

Helper function for builtin objects that use the varargs form. ECMA function formal arguments are undefined if not supplied; this function pads the argument array out to the expected length, if necessary.

PropIncrDecr ( object obj, string id, Context cx, int incrDecrMask ) : object
RefDel ( Ref @ref, Context cx ) : object
RefGet ( Ref @ref, Context cx ) : object
RefIncrDecr ( Ref @ref, Context cx, int incrDecrMask ) : object
RefSet ( Ref @ref, object value, Context cx ) : object
SearchDefaultNamespace ( Context cx ) : object
SetBuiltinProtoAndParent ( ScriptableObject @object, Scriptable scope, TopLevel type ) : void
SetConst ( Scriptable bound, object value, Context cx, string id ) : object
SetDefaultNamespace ( object @namespace, Context cx ) : object
SetEnumNumbers ( object enumObj, bool enumNumbers ) : void
SetFunctionProtoAndParent ( BaseFunction fn, Scriptable scope ) : void
SetName ( Scriptable bound, object value, Context cx, Scriptable scope, string id ) : object
SetObjectElem ( Scriptable obj, object elem, object value, Context cx ) : object
SetObjectElem ( object obj, object elem, object value, Context cx ) : object
SetObjectIndex ( Scriptable obj, int index, object value, Context cx ) : object
SetObjectIndex ( object obj, double dblIndex, object value, Context cx ) : object
SetObjectProp ( Scriptable obj, string property, object value, Context cx ) : object
SetObjectProp ( object obj, string property, object value, Context cx ) : object

Version of setObjectElem when elem is a valid JS identifier name.

Version of setObjectElem when elem is a valid JS identifier name.

SetObjectProtoAndParent ( ScriptableObject @object, Scriptable scope ) : void
SetRegExpProxy ( Context cx, RegExpProxy proxy ) : void
ShallowEq ( object x, object y ) : bool
SpecialRef ( object obj, string specialProperty, Context cx ) : Ref
StoreUint32Result ( Context cx, long value ) : void
StrictSetName ( Scriptable bound, object value, Context cx, Scriptable scope, string id ) : object
TestUint32String ( string str ) : long

If str is a decimal presentation of Uint32 value, return it as long.

If str is a decimal presentation of Uint32 value, return it as long. Othewise return -1L;

ThrowError ( Context cx, Scriptable scope, string message ) : JavaScriptException

Equivalent to executing "new Error(message)" from JavaScript.

Equivalent to executing "new Error(message)" from JavaScript.

ToBoolean ( object val ) : bool

Convert the value to a boolean.

Convert the value to a boolean. See ECMA 9.2.

ToCharSequence ( object val ) : Sharpen.CharSequence
ToInt32 ( double d ) : int
ToInt32 ( object val ) : int

See ECMA 9.5.

See ECMA 9.5.

ToInt32 ( object args, int index ) : int
ToInteger ( double d ) : double
ToInteger ( object val ) : double

See ECMA 9.4.

See ECMA 9.4.

ToInteger ( object args, int index ) : double
ToIterator ( Context cx, Scriptable scope, Scriptable obj, bool keyOnly ) : Scriptable
ToNumber ( object val ) : double

Convert the value to a number.

Convert the value to a number. See ECMA 9.3.

ToNumber ( object args, int index ) : double
ToNumber ( string s ) : double

ToNumber applied to the String type See ECMA 9.3.1

ToObject ( Context cx, Scriptable scope, object val ) : Scriptable

Convert the value to an object.

Convert the value to an object. See ECMA 9.9.

ToObject ( Scriptable scope, object val ) : Scriptable
ToObjectOrNull ( Context cx, object obj ) : Scriptable

Warning: this doesn't allow to resolve primitive prototype properly when many top scopes are involved

ToObjectOrNull ( Context cx, object obj, Scriptable scope ) : Scriptable
ToPrimitive ( object val ) : object
ToPrimitive ( object val, Type typeHint ) : object
ToString ( double val ) : string

Optimized version of toString(Object) for numbers.

Optimized version of toString(Object) for numbers.

ToString ( object val ) : string

Convert the value to a string.

Convert the value to a string. See ECMA 9.8.

ToString ( object args, int index ) : string
ToUint16 ( object val ) : char

See ECMA 9.7.

See ECMA 9.7.

ToUint32 ( double d ) : long

See ECMA 9.6.

See ECMA 9.6.

ToUint32 ( object val ) : long
TypeError ( string message ) : EcmaError
TypeError0 ( string messageId ) : EcmaError
TypeError1 ( string messageId, string arg1 ) : EcmaError
TypeError2 ( string messageId, string arg1, string arg2 ) : EcmaError
TypeError3 ( string messageId, string arg1, string arg2, string arg3 ) : EcmaError
TypeErrorThrower ( ) : BaseFunction

Returns representation of the [[ThrowTypeError]] object.

Returns representation of the [[ThrowTypeError]] object. See ECMA 5 spec, 13.2.3

Typeof ( object value ) : string

The typeof operator

TypeofName ( Scriptable scope, string id ) : string

The typeof operator that correctly handles the undefined case

UndefCallError ( object @object, object id ) : Exception
UndefReadError ( object @object, object id ) : Exception
UndefWriteError ( object @object, object id, object value ) : Exception
UpdateDotQuery ( bool value, Scriptable scope ) : object
WrapBoolean ( bool b ) : bool
WrapException ( Exception t, Scriptable scope, Context cx ) : Scriptable
WrapInt ( int i ) : int
WrapNumber ( double x ) : Number
WrapRegExp ( Context cx, Scriptable scope, object compiled ) : Scriptable

보호된 메소드들

메소드 설명
ScriptRuntime ( ) : System

No instances should be created.

No instances should be created.

비공개 메소드들

메소드 설명
Call ( Context cx, object fun, object thisArg, object args, Scriptable scope ) : object
CheckDeprecated ( Context cx, string name ) : void
CheckDynamicScope ( Scriptable possibleDynamicScope, Scriptable staticTopScope ) : Scriptable

Return possibleDynamicScope if staticTopScope is present on its prototype chain and return staticTopScope otherwise.

Return possibleDynamicScope if staticTopScope is present on its prototype chain and return staticTopScope otherwise. Should only be called when staticTopScope is top scope.

CurrentXMLLib ( Context cx ) : XMLLib
DefaultObjectToSource ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : string
DefaultObjectToString ( Scriptable obj ) : string
Delete ( object obj, object id, Context cx ) : object
DoScriptableIncrDecr ( Scriptable target, string id, Scriptable protoChainStart, object value, int incrDecrMask ) : object
EnumChangeObject ( ScriptRuntime x ) : void
EqNumber ( double x, object y ) : bool
EqString ( Sharpen.CharSequence x, object y ) : bool
ErrorWithClassName ( string msg, object val ) : Exception
FindFunctionActivation ( Context cx, System.Function f ) : NativeCall
GetApplyArguments ( Context cx, object arg1 ) : object[]
GetCallable ( Scriptable thisObj ) : Callable
GetExistingCtor ( Context cx, Scriptable scope, string constructorName ) : System.Function
GetIndexObject ( double d ) : object

If d is exact int value, return its value wrapped as Integer and othewise return d converted to String.

If d is exact int value, return its value wrapped as Integer and othewise return d converted to String.

GetIndexObject ( string s ) : object

If s represents index, then return index value wrapped as Integer and othewise return s.

If s represents index, then return index value wrapped as Integer and othewise return s.

GetPropFunctionAndThisHelper ( object obj, string property, Context cx, Scriptable thisObj ) : Callable
GetTopPackageNames ( ) : string[]
IsGeneratedScript ( string sourceUrl ) : bool
IsSpecialProperty ( string s ) : bool
IsStrWhiteSpaceChar ( int c ) : bool

Indicates if the character is a Str whitespace char according to ECMA spec: StrWhiteSpaceChar :::

IsValidIdentifierName ( string s ) : bool
IsVisible ( Context cx, object obj ) : bool
LastIndexResult ( Context cx ) : int
MakeUrlForGeneratedScript ( bool isEval, string masterScriptUrl, int masterScriptLine ) : string
NameIncrDecr ( Scriptable scopeChain, string id, int incrDecrMask ) : object
NameOrFunction ( Context cx, Scriptable scope, Scriptable parentScope, string name, bool asFunctionCall ) : object
NewObjectLiteral ( object propertyIds, object propertyValues, Context cx, Scriptable scope ) : Scriptable
NotXmlError ( object value ) : Exception
StoreIndexResult ( Context cx, int index ) : void
StoreScriptable ( Context cx, Scriptable value ) : void
StringToNumber ( string s, int start, int radix ) : double
ToObject ( Context cx, Scriptable scope, object val, Type staticClass ) : Scriptable
ToObject ( Scriptable scope, object val, Type staticClass ) : Scriptable
ToStringIdOrIndex ( Context cx, object id ) : string

If toString(id) is a decimal presentation of int32 value, then id is index.

If toString(id) is a decimal presentation of int32 value, then id is index. In this case return null and make the index available as ScriptRuntime.lastIndexResult(cx). Otherwise return toString(id).

TopScopeName ( Context cx, Scriptable scope, string name ) : object
UndefDeleteError ( object @object, object id ) : Exception
Uneval ( Context cx, Scriptable scope, object value ) : string
WarnAboutNonJSObject ( object nonJSObject ) : void

메소드 상세

Add() 공개 정적인 메소드

public static Add ( Sharpen.CharSequence val1, object val2 ) : Sharpen.CharSequence
val1 Sharpen.CharSequence
val2 object
리턴 Sharpen.CharSequence

Add() 공개 정적인 메소드

public static Add ( object val1, Sharpen.CharSequence val2 ) : Sharpen.CharSequence
val1 object
val2 Sharpen.CharSequence
리턴 Sharpen.CharSequence

Add() 공개 정적인 메소드

public static Add ( object val1, object val2, Context cx ) : object
val1 object
val2 object
cx Context
리턴 object

AddInstructionCount() 공개 정적인 메소드

public static AddInstructionCount ( Context cx, int instructionsToAdd ) : void
cx Context
instructionsToAdd int
리턴 void

ApplyOrCall() 공개 정적인 메소드

Function.prototype.apply and Function.prototype.call See Ecma 15.3.4.[34]
public static ApplyOrCall ( bool isApply, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
isApply bool
cx Context
scope Scriptable
thisObj Scriptable
args object
리턴 object

Bind() 공개 정적인 메소드

Returns the object in the scope chain that has a given property.
Returns the object in the scope chain that has a given property. The order of evaluation of an assignment expression involves evaluating the lhs to a reference, evaluating the rhs, and then modifying the reference with the rhs value. This method is used to 'bind' the given name to an object containing that property so that the side effects of evaluating the rhs do not affect which property is modified. Typically used in conjunction with setName. See ECMA 10.1.4
public static Bind ( Context cx, Scriptable scope, string id ) : Scriptable
cx Context
scope Scriptable
id string
리턴 Scriptable

CallRef() 공개 정적인 메소드

Perform function call in reference context.
Perform function call in reference context. Should always return value that can be passed to RefGet(Ref, Context) or RefSet(Ref, object, Context) arbitrary number of times. The args array reference should not be stored in any object that is can be GC-reachable after this method returns. If this is necessary, store args.clone(), not args array itself.
public static CallRef ( Callable function, Scriptable thisObj, object args, Context cx ) : Ref
function Callable
thisObj Scriptable
args object
cx Context
리턴 Ref

CallSpecial() 공개 정적인 메소드

public static CallSpecial ( Context cx, Callable fun, Scriptable thisObj, object args, Scriptable scope, Scriptable callerThis, int callType, string filename, int lineNumber ) : object
cx Context
fun Callable
thisObj Scriptable
args object
scope Scriptable
callerThis Scriptable
callType int
filename string
lineNumber int
리턴 object

CheckRegExpProxy() 공개 정적인 메소드

public static CheckRegExpProxy ( Context cx ) : RegExpProxy
cx Context
리턴 RegExpProxy

Cmp_LE() 공개 정적인 메소드

public static Cmp_LE ( object val1, object val2 ) : bool
val1 object
val2 object
리턴 bool

Cmp_LT() 공개 정적인 메소드

public static Cmp_LT ( object val1, object val2 ) : bool
val1 object
val2 object
리턴 bool

ConstructError() 공개 정적인 메소드

public static ConstructError ( string error, string message ) : EcmaError
error string
message string
리턴 EcmaError

ConstructError() 공개 정적인 메소드

public static ConstructError ( string error, string message, int lineNumberDelta ) : EcmaError
error string
message string
lineNumberDelta int
리턴 EcmaError

ConstructError() 공개 정적인 메소드

public static ConstructError ( string error, string message, string sourceName, int lineNumber, string lineSource, int columnNumber ) : EcmaError
error string
message string
sourceName string
lineNumber int
lineSource string
columnNumber int
리턴 EcmaError

CreateFunctionActivation() 공개 정적인 메소드

public static CreateFunctionActivation ( NativeFunction funObj, Scriptable scope, object args ) : Scriptable
funObj NativeFunction
scope Scriptable
args object
리턴 Scriptable

Delete() 공개 정적인 메소드

The delete operator See ECMA 11.4.1 In ECMA 0.19, the description of the delete operator (11.4.1) assumes that the [[Delete]] method returns a value.
The delete operator See ECMA 11.4.1 In ECMA 0.19, the description of the delete operator (11.4.1) assumes that the [[Delete]] method returns a value. However, the definition of the [[Delete]] operator (8.6.2.5) does not define a return value. Here we assume that the [[Delete]] method doesn't return a value.
public static Delete ( object obj, object id, Context cx, bool isName ) : object
obj object
id object
cx Context
isName bool
리턴 object

DeleteObjectElem() 공개 정적인 메소드

public static DeleteObjectElem ( Scriptable target, object elem, Context cx ) : bool
target Scriptable
elem object
cx Context
리턴 bool

DoTopCall() 공개 정적인 메소드

public static DoTopCall ( Callable callable, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
callable Callable
cx Context
scope Scriptable
thisObj Scriptable
args object
리턴 object

ElemIncrDecr() 공개 정적인 메소드

public static ElemIncrDecr ( object obj, object index, Context cx, int incrDecrMask ) : object
obj object
index object
cx Context
incrDecrMask int
리턴 object

EnterActivationFunction() 공개 정적인 메소드

public static EnterActivationFunction ( Context cx, Scriptable scope ) : void
cx Context
scope Scriptable
리턴 void

EnterDotQuery() 공개 정적인 메소드

public static EnterDotQuery ( object value, Scriptable scope ) : Scriptable
value object
scope Scriptable
리턴 Scriptable

EnterWith() 공개 정적인 메소드

public static EnterWith ( object obj, Context cx, Scriptable scope ) : Scriptable
obj object
cx Context
scope Scriptable
리턴 Scriptable

EnumId() 공개 정적인 메소드

public static EnumId ( object enumObj, Context cx ) : object
enumObj object
cx Context
리턴 object

EnumInit() 공개 정적인 메소드

public static EnumInit ( object value, Context cx, bool enumValues ) : object
value object
cx Context
enumValues bool
리턴 object

EnumInit() 공개 정적인 메소드

public static EnumInit ( object value, Context cx, int enumType ) : object
value object
cx Context
enumType int
리턴 object

EnumNext() 공개 정적인 메소드

public static EnumNext ( object enumObj ) : bool
enumObj object
리턴 bool

EnumValue() 공개 정적인 메소드

public static EnumValue ( object enumObj, Context cx ) : object
enumObj object
cx Context
리턴 object

Eq() 공개 정적인 메소드

Equality See ECMA 11.9
public static Eq ( object x, object y ) : bool
x object
y object
리턴 bool

EscapeAttributeValue() 공개 정적인 메소드

Escapes the reserved characters in a value of an attribute
public static EscapeAttributeValue ( object value, Context cx ) : string
value object Unescaped text
cx Context
리턴 string

EscapeString() 공개 정적인 메소드

public static EscapeString ( string s ) : string
s string
리턴 string

EscapeString() 공개 정적인 메소드

For escaping strings printed by object and array literals; not quite the same as 'escape.'
public static EscapeString ( string s, char escapeQuote ) : string
s string
escapeQuote char
리턴 string

EscapeTextValue() 공개 정적인 메소드

Escapes the reserved characters in a value of a text node
public static EscapeTextValue ( object value, Context cx ) : string
value object Unescaped text
cx Context
리턴 string

EvalSpecial() 공개 정적인 메소드

The eval function property of the global object.
The eval function property of the global object. See ECMA 15.1.2.1
public static EvalSpecial ( Context cx, Scriptable scope, object thisArg, object args, string filename, int lineNumber ) : object
cx Context
scope Scriptable
thisArg object
args object
filename string
lineNumber int
리턴 object

ExitActivationFunction() 공개 정적인 메소드

public static ExitActivationFunction ( Context cx ) : void
cx Context
리턴 void

GetArrayElements() 공개 정적인 메소드

public static GetArrayElements ( Scriptable @object ) : object[]
@object Scriptable
리턴 object[]

GetElemFunctionAndThis() 공개 정적인 메소드

Prepare for calling obj[id](...): return function corresponding to obj[id] and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
Prepare for calling obj[id](...): return function corresponding to obj[id] and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. The caller must call ScriptRuntime.lastStoredScriptable() immediately after calling this method.
public static GetElemFunctionAndThis ( object obj, object elem, Context cx ) : Callable
obj object
elem object
cx Context
리턴 Callable

GetGlobal() 공개 정적인 메소드

public static GetGlobal ( Context cx ) : ScriptableObject
cx Context
리턴 ScriptableObject

GetLibraryScopeOrNull() 공개 정적인 메소드

public static GetLibraryScopeOrNull ( Scriptable scope ) : ScriptableObject
scope Scriptable
리턴 ScriptableObject

GetMessage() 공개 정적인 메소드

public static GetMessage ( string messageId, object arguments ) : string
messageId string
arguments object
리턴 string

GetMessage0() 공개 정적인 메소드

public static GetMessage0 ( string messageId ) : string
messageId string
리턴 string

GetMessage1() 공개 정적인 메소드

public static GetMessage1 ( string messageId, object arg1 ) : string
messageId string
arg1 object
리턴 string

GetMessage2() 공개 정적인 메소드

public static GetMessage2 ( string messageId, object arg1, object arg2 ) : string
messageId string
arg1 object
arg2 object
리턴 string

GetMessage3() 공개 정적인 메소드

public static GetMessage3 ( string messageId, object arg1, object arg2, object arg3 ) : string
messageId string
arg1 object
arg2 object
arg3 object
리턴 string

GetMessage4() 공개 정적인 메소드

public static GetMessage4 ( string messageId, object arg1, object arg2, object arg3, object arg4 ) : string
messageId string
arg1 object
arg2 object
arg3 object
arg4 object
리턴 string

GetNameFunctionAndThis() 공개 정적인 메소드

Prepare for calling name(...): return function corresponding to name and make current top scope available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
Prepare for calling name(...): return function corresponding to name and make current top scope available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. The caller must call ScriptRuntime.lastStoredScriptable() immediately after calling this method.
public static GetNameFunctionAndThis ( string name, Context cx, Scriptable scope ) : Callable
name string
cx Context
scope Scriptable
리턴 Callable

GetObjectElem() 공개 정적인 메소드

public static GetObjectElem ( Scriptable obj, object elem, Context cx ) : object
obj Scriptable
elem object
cx Context
리턴 object

GetObjectElem() 공개 정적인 메소드

Call obj.[[Get]](id)
public static GetObjectElem ( object obj, object elem, Context cx ) : object
obj object
elem object
cx Context
리턴 object

GetObjectElem() 공개 정적인 메소드

Call obj.[[Get]](id)
public static GetObjectElem ( object obj, object elem, Context cx, Scriptable scope ) : object
obj object
elem object
cx Context
scope Scriptable
리턴 object

GetObjectIndex() 공개 정적인 메소드

public static GetObjectIndex ( Scriptable obj, int index, Context cx ) : object
obj Scriptable
index int
cx Context
리턴 object

GetObjectIndex() 공개 정적인 메소드

public static GetObjectIndex ( object obj, double dblIndex, Context cx ) : object
obj object
dblIndex double
cx Context
리턴 object

GetObjectProp() 공개 정적인 메소드

public static GetObjectProp ( Scriptable obj, string property, Context cx ) : object
obj Scriptable
property string
cx Context
리턴 object

GetObjectProp() 공개 정적인 메소드

Version of getObjectElem when elem is a valid JS identifier name.
Version of getObjectElem when elem is a valid JS identifier name.
public static GetObjectProp ( object obj, string property, Context cx ) : object
obj object
property string
cx Context
리턴 object

GetObjectProp() 공개 정적인 메소드

public static GetObjectProp ( object obj, string property, Context cx, Scriptable scope ) : object
obj object
property string
cx Context
scope Scriptable the scope that should be used to resolve primitive prototype
리턴 object

GetObjectPropNoWarn() 공개 정적인 메소드

public static GetObjectPropNoWarn ( object obj, string property, Context cx ) : object
obj object
property string
cx Context
리턴 object

GetPropFunctionAndThis() 공개 정적인 메소드

Prepare for calling obj.property(...): return function corresponding to obj.property and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
Prepare for calling obj.property(...): return function corresponding to obj.property and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. The caller must call ScriptRuntime.lastStoredScriptable() immediately after calling this method. Warning: this doesn't allow to resolve primitive prototype properly when many top scopes are involved.
public static GetPropFunctionAndThis ( object obj, string property, Context cx ) : Callable
obj object
property string
cx Context
리턴 Callable

GetPropFunctionAndThis() 공개 정적인 메소드

Prepare for calling obj.property(...): return function corresponding to obj.property and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
Prepare for calling obj.property(...): return function corresponding to obj.property and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. The caller must call ScriptRuntime.lastStoredScriptable() immediately after calling this method.
public static GetPropFunctionAndThis ( object obj, string property, Context cx, Scriptable scope ) : Callable
obj object
property string
cx Context
scope Scriptable
리턴 Callable

GetRegExpProxy() 공개 정적인 메소드

public static GetRegExpProxy ( Context cx ) : RegExpProxy
cx Context
리턴 RegExpProxy

GetTopCallScope() 공개 정적인 메소드

public static GetTopCallScope ( Context cx ) : Scriptable
cx Context
리턴 Scriptable

GetTopLevelProp() 공개 정적인 메소드

public static GetTopLevelProp ( Scriptable scope, string id ) : object
scope Scriptable
id string
리턴 object

GetValueFunctionAndThis() 공개 정적인 메소드

Prepare for calling (...): return function corresponding to and make parent scope of the function available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
Prepare for calling (...): return function corresponding to and make parent scope of the function available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. The caller must call ScriptRuntime.lastStoredScriptable() immediately after calling this method.
public static GetValueFunctionAndThis ( object value, Context cx ) : Callable
value object
cx Context
리턴 Callable

HasObjectElem() 공개 정적인 메소드

public static HasObjectElem ( Scriptable target, object elem, Context cx ) : bool
target Scriptable
elem object
cx Context
리턴 bool

HasTopCall() 공개 정적인 메소드

public static HasTopCall ( Context cx ) : bool
cx Context
리턴 bool

In() 공개 정적인 메소드

The in operator.
The in operator. This is a new JS 1.3 language feature. The in operator mirrors the operation of the for .. in construct, and tests whether the rhs has the property given by the lhs. It is different from the for .. in construct in that:
- it doesn't perform ToObject on the right hand side
- it returns true for DontEnum properties.
public static In ( object a, object b, Context cx ) : bool
a object the left hand operand
b object the right hand operand
cx Context
리턴 bool

IndexFromString() 공개 정적인 메소드

Return -1L if str is not an index, or the index value as lower 32 bits of the result.
Return -1L if str is not an index, or the index value as lower 32 bits of the result. Note that the result needs to be cast to an int in order to produce the actual index, which may be negative.
public static IndexFromString ( string str ) : long
str string
리턴 long

InitFunction() 공개 정적인 메소드

public static InitFunction ( Context cx, Scriptable scope, NativeFunction function, int type, bool fromEvalCode ) : void
cx Context
scope Scriptable
function NativeFunction
type int
fromEvalCode bool
리턴 void

InitScript() 공개 정적인 메소드

public static InitScript ( NativeFunction funObj, Scriptable thisObj, Context cx, Scriptable scope, bool evalScript ) : void
funObj NativeFunction
thisObj Scriptable
cx Context
scope Scriptable
evalScript bool
리턴 void

InitStandardObjects() 공개 정적인 메소드

public static InitStandardObjects ( Context cx, ScriptableObject scope, bool @sealed ) : ScriptableObject
cx Context
scope ScriptableObject
@sealed bool
리턴 ScriptableObject

InstanceOf() 공개 정적인 메소드

The instanceof operator.
The instanceof operator.
public static InstanceOf ( object a, object b, Context cx ) : bool
a object
b object
cx Context
리턴 bool

IsArrayObject() 공개 정적인 메소드

public static IsArrayObject ( object obj ) : bool
obj object
리턴 bool

IsJSLineTerminator() 공개 정적인 메소드

public static IsJSLineTerminator ( int c ) : bool
c int
리턴 bool

IsJSWhitespaceOrLineTerminator() 공개 정적인 메소드

public static IsJSWhitespaceOrLineTerminator ( int c ) : bool
c int
리턴 bool

IsPrimitive() 공개 정적인 메소드

public static IsPrimitive ( object obj ) : bool
obj object
리턴 bool

IsRhinoRuntimeType() 공개 정적인 메소드

public static IsRhinoRuntimeType ( Type cl ) : bool
cl System.Type
리턴 bool

JsDelegatesTo() 공개 정적인 메소드

Delegates to
public static JsDelegatesTo ( Scriptable lhs, Scriptable rhs ) : bool
lhs Scriptable
rhs Scriptable
리턴 bool

LastStoredScriptable() 공개 정적인 메소드

public static LastStoredScriptable ( Context cx ) : Scriptable
cx Context
리턴 Scriptable

LastUint32Result() 공개 정적인 메소드

public static LastUint32Result ( Context cx ) : long
cx Context
리턴 long

LeaveDotQuery() 공개 정적인 메소드

public static LeaveDotQuery ( Scriptable scope ) : Scriptable
scope Scriptable
리턴 Scriptable

LeaveWith() 공개 정적인 메소드

public static LeaveWith ( Scriptable scope ) : Scriptable
scope Scriptable
리턴 Scriptable

MemberRef() 공개 정적인 메소드

public static MemberRef ( object obj, object elem, Context cx, int memberTypeFlags ) : Ref
obj object
elem object
cx Context
memberTypeFlags int
리턴 Ref

MemberRef() 공개 정적인 메소드

public static MemberRef ( object obj, object @namespace, object elem, Context cx, int memberTypeFlags ) : Ref
obj object
@namespace object
elem object
cx Context
memberTypeFlags int
리턴 Ref

Name() 공개 정적인 메소드

Looks up a name in the scope chain and returns its value.
Looks up a name in the scope chain and returns its value.
public static Name ( Context cx, Scriptable scope, string name ) : object
cx Context
scope Scriptable
name string
리턴 object

NameIncrDecr() 공개 정적인 메소드

public static NameIncrDecr ( Scriptable scopeChain, string id, Context cx, int incrDecrMask ) : object
scopeChain Scriptable
id string
cx Context
incrDecrMask int
리턴 object

NameRef() 공개 정적인 메소드

public static NameRef ( object name, Context cx, Scriptable scope, int memberTypeFlags ) : Ref
name object
cx Context
scope Scriptable
memberTypeFlags int
리턴 Ref

NameRef() 공개 정적인 메소드

public static NameRef ( object @namespace, object name, Context cx, Scriptable scope, int memberTypeFlags ) : Ref
@namespace object
name object
cx Context
scope Scriptable
memberTypeFlags int
리턴 Ref

NewArrayLiteral() 공개 정적인 메소드

public static NewArrayLiteral ( object objects, int skipIndices, Context cx, Scriptable scope ) : Scriptable
objects object
skipIndices int
cx Context
scope Scriptable
리턴 Scriptable

NewBuiltinObject() 공개 정적인 메소드

public static NewBuiltinObject ( Context cx, Scriptable scope, TopLevel type, object args ) : Scriptable
cx Context
scope Scriptable
type TopLevel
args object
리턴 Scriptable

NewCatchScope() 공개 정적인 메소드

public static NewCatchScope ( Exception t, Scriptable lastCatchScope, string exceptionName, Context cx, Scriptable scope ) : Scriptable
t System.Exception
lastCatchScope Scriptable
exceptionName string
cx Context
scope Scriptable
리턴 Scriptable

NewObject() 공개 정적인 메소드

public static NewObject ( Context cx, Scriptable scope, string constructorName, object args ) : Scriptable
cx Context
scope Scriptable
constructorName string
args object
리턴 Scriptable

NewObject() 공개 정적인 메소드

Operator new.
Operator new. See ECMA 11.2.2
public static NewObject ( object fun, Context cx, Scriptable scope, object args ) : Scriptable
fun object
cx Context
scope Scriptable
args object
리턴 Scriptable

NewObjectLiteral() 공개 정적인 메소드

public static NewObjectLiteral ( object propertyIds, object propertyValues, int getterSetters, Context cx, Scriptable scope ) : Scriptable
propertyIds object
propertyValues object
getterSetters int
cx Context
scope Scriptable
리턴 Scriptable

NewSpecial() 공개 정적인 메소드

public static NewSpecial ( Context cx, object fun, object args, Scriptable scope, int callType ) : object
cx Context
fun object
args object
scope Scriptable
callType int
리턴 object

NotFoundError() 공개 정적인 메소드

public static NotFoundError ( Scriptable @object, string property ) : Exception
@object Scriptable
property string
리턴 System.Exception

NotFunctionError() 공개 정적인 메소드

public static NotFunctionError ( object value ) : Exception
value object
리턴 System.Exception

NotFunctionError() 공개 정적인 메소드

public static NotFunctionError ( object value, object messageHelper ) : Exception
value object
messageHelper object
리턴 System.Exception

NotFunctionError() 공개 정적인 메소드

public static NotFunctionError ( object obj, object value, string propertyName ) : Exception
obj object
value object
propertyName string
리턴 System.Exception

NumberToString() 공개 정적인 메소드

public static NumberToString ( double d, int @base ) : string
d double
@base int
리턴 string

PadArguments() 공개 정적인 메소드

Helper function for builtin objects that use the varargs form.
Helper function for builtin objects that use the varargs form. ECMA function formal arguments are undefined if not supplied; this function pads the argument array out to the expected length, if necessary.
public static PadArguments ( object args, int count ) : object[]
args object
count int
리턴 object[]

PropIncrDecr() 공개 정적인 메소드

public static PropIncrDecr ( object obj, string id, Context cx, int incrDecrMask ) : object
obj object
id string
cx Context
incrDecrMask int
리턴 object

RefDel() 공개 정적인 메소드

public static RefDel ( Ref @ref, Context cx ) : object
@ref Ref
cx Context
리턴 object

RefGet() 공개 정적인 메소드

public static RefGet ( Ref @ref, Context cx ) : object
@ref Ref
cx Context
리턴 object

RefIncrDecr() 공개 정적인 메소드

public static RefIncrDecr ( Ref @ref, Context cx, int incrDecrMask ) : object
@ref Ref
cx Context
incrDecrMask int
리턴 object

RefSet() 공개 정적인 메소드

public static RefSet ( Ref @ref, object value, Context cx ) : object
@ref Ref
value object
cx Context
리턴 object

ScriptRuntime() 보호된 메소드

No instances should be created.
No instances should be created.
protected ScriptRuntime ( ) : System
리턴 System

SearchDefaultNamespace() 공개 정적인 메소드

public static SearchDefaultNamespace ( Context cx ) : object
cx Context
리턴 object

SetBuiltinProtoAndParent() 공개 정적인 메소드

public static SetBuiltinProtoAndParent ( ScriptableObject @object, Scriptable scope, TopLevel type ) : void
@object ScriptableObject
scope Scriptable
type TopLevel
리턴 void

SetConst() 공개 정적인 메소드

public static SetConst ( Scriptable bound, object value, Context cx, string id ) : object
bound Scriptable
value object
cx Context
id string
리턴 object

SetDefaultNamespace() 공개 정적인 메소드

public static SetDefaultNamespace ( object @namespace, Context cx ) : object
@namespace object
cx Context
리턴 object

SetEnumNumbers() 공개 정적인 메소드

public static SetEnumNumbers ( object enumObj, bool enumNumbers ) : void
enumObj object
enumNumbers bool
리턴 void

SetFunctionProtoAndParent() 공개 정적인 메소드

public static SetFunctionProtoAndParent ( BaseFunction fn, Scriptable scope ) : void
fn BaseFunction
scope Scriptable
리턴 void

SetName() 공개 정적인 메소드

public static SetName ( Scriptable bound, object value, Context cx, Scriptable scope, string id ) : object
bound Scriptable
value object
cx Context
scope Scriptable
id string
리턴 object

SetObjectElem() 공개 정적인 메소드

public static SetObjectElem ( Scriptable obj, object elem, object value, Context cx ) : object
obj Scriptable
elem object
value object
cx Context
리턴 object

SetObjectElem() 공개 정적인 메소드

public static SetObjectElem ( object obj, object elem, object value, Context cx ) : object
obj object
elem object
value object
cx Context
리턴 object

SetObjectIndex() 공개 정적인 메소드

public static SetObjectIndex ( Scriptable obj, int index, object value, Context cx ) : object
obj Scriptable
index int
value object
cx Context
리턴 object

SetObjectIndex() 공개 정적인 메소드

public static SetObjectIndex ( object obj, double dblIndex, object value, Context cx ) : object
obj object
dblIndex double
value object
cx Context
리턴 object

SetObjectProp() 공개 정적인 메소드

public static SetObjectProp ( Scriptable obj, string property, object value, Context cx ) : object
obj Scriptable
property string
value object
cx Context
리턴 object

SetObjectProp() 공개 정적인 메소드

Version of setObjectElem when elem is a valid JS identifier name.
Version of setObjectElem when elem is a valid JS identifier name.
public static SetObjectProp ( object obj, string property, object value, Context cx ) : object
obj object
property string
value object
cx Context
리턴 object

SetObjectProtoAndParent() 공개 정적인 메소드

public static SetObjectProtoAndParent ( ScriptableObject @object, Scriptable scope ) : void
@object ScriptableObject
scope Scriptable
리턴 void

SetRegExpProxy() 공개 정적인 메소드

public static SetRegExpProxy ( Context cx, RegExpProxy proxy ) : void
cx Context
proxy RegExpProxy
리턴 void

ShallowEq() 공개 정적인 메소드

public static ShallowEq ( object x, object y ) : bool
x object
y object
리턴 bool

SpecialRef() 공개 정적인 메소드

public static SpecialRef ( object obj, string specialProperty, Context cx ) : Ref
obj object
specialProperty string
cx Context
리턴 Ref

StoreUint32Result() 공개 정적인 메소드

public static StoreUint32Result ( Context cx, long value ) : void
cx Context
value long
리턴 void

StrictSetName() 공개 정적인 메소드

public static StrictSetName ( Scriptable bound, object value, Context cx, Scriptable scope, string id ) : object
bound Scriptable
value object
cx Context
scope Scriptable
id string
리턴 object

TestUint32String() 공개 정적인 메소드

If str is a decimal presentation of Uint32 value, return it as long.
If str is a decimal presentation of Uint32 value, return it as long. Othewise return -1L;
public static TestUint32String ( string str ) : long
str string
리턴 long

ThrowError() 공개 정적인 메소드

Equivalent to executing "new Error(message)" from JavaScript.
Equivalent to executing "new Error(message)" from JavaScript.
public static ThrowError ( Context cx, Scriptable scope, string message ) : JavaScriptException
cx Context the current context
scope Scriptable the current scope
message string the message
리턴 JavaScriptException

ToBoolean() 공개 정적인 메소드

Convert the value to a boolean.
Convert the value to a boolean. See ECMA 9.2.
public static ToBoolean ( object val ) : bool
val object
리턴 bool

ToCharSequence() 공개 정적인 메소드

public static ToCharSequence ( object val ) : Sharpen.CharSequence
val object
리턴 Sharpen.CharSequence

ToInt32() 공개 정적인 메소드

public static ToInt32 ( double d ) : int
d double
리턴 int

ToInt32() 공개 정적인 메소드

See ECMA 9.5.
See ECMA 9.5.
public static ToInt32 ( object val ) : int
val object
리턴 int

ToInt32() 공개 정적인 메소드

public static ToInt32 ( object args, int index ) : int
args object
index int
리턴 int

ToInteger() 공개 정적인 메소드

public static ToInteger ( double d ) : double
d double
리턴 double

ToInteger() 공개 정적인 메소드

See ECMA 9.4.
See ECMA 9.4.
public static ToInteger ( object val ) : double
val object
리턴 double

ToInteger() 공개 정적인 메소드

public static ToInteger ( object args, int index ) : double
args object
index int
리턴 double

ToIterator() 공개 정적인 메소드

public static ToIterator ( Context cx, Scriptable scope, Scriptable obj, bool keyOnly ) : Scriptable
cx Context
scope Scriptable
obj Scriptable
keyOnly bool
리턴 Scriptable

ToNumber() 공개 정적인 메소드

Convert the value to a number.
Convert the value to a number. See ECMA 9.3.
public static ToNumber ( object val ) : double
val object
리턴 double

ToNumber() 공개 정적인 메소드

public static ToNumber ( object args, int index ) : double
args object
index int
리턴 double

ToNumber() 공개 정적인 메소드

ToNumber applied to the String type See ECMA 9.3.1
public static ToNumber ( string s ) : double
s string
리턴 double

ToObject() 공개 정적인 메소드

Convert the value to an object.
Convert the value to an object. See ECMA 9.9.
public static ToObject ( Context cx, Scriptable scope, object val ) : Scriptable
cx Context
scope Scriptable
val object
리턴 Scriptable

ToObject() 공개 정적인 메소드

public static ToObject ( Scriptable scope, object val ) : Scriptable
scope Scriptable
val object
리턴 Scriptable

ToObjectOrNull() 공개 정적인 메소드

Warning: this doesn't allow to resolve primitive prototype properly when many top scopes are involved
public static ToObjectOrNull ( Context cx, object obj ) : Scriptable
cx Context
obj object
리턴 Scriptable

ToObjectOrNull() 공개 정적인 메소드

public static ToObjectOrNull ( Context cx, object obj, Scriptable scope ) : Scriptable
cx Context
obj object
scope Scriptable the scope that should be used to resolve primitive prototype
리턴 Scriptable

ToPrimitive() 공개 정적인 메소드

public static ToPrimitive ( object val ) : object
val object
리턴 object

ToPrimitive() 공개 정적인 메소드

public static ToPrimitive ( object val, Type typeHint ) : object
val object
typeHint System.Type
리턴 object

ToString() 공개 정적인 메소드

Optimized version of toString(Object) for numbers.
Optimized version of toString(Object) for numbers.
public static ToString ( double val ) : string
val double
리턴 string

ToString() 공개 정적인 메소드

Convert the value to a string.
Convert the value to a string. See ECMA 9.8.
public static ToString ( object val ) : string
val object
리턴 string

ToString() 공개 정적인 메소드

public static ToString ( object args, int index ) : string
args object
index int
리턴 string

ToUint16() 공개 정적인 메소드

See ECMA 9.7.
See ECMA 9.7.
public static ToUint16 ( object val ) : char
val object
리턴 char

ToUint32() 공개 정적인 메소드

See ECMA 9.6.
See ECMA 9.6.
public static ToUint32 ( double d ) : long
d double
리턴 long

ToUint32() 공개 정적인 메소드

public static ToUint32 ( object val ) : long
val object
리턴 long

TypeError() 공개 정적인 메소드

public static TypeError ( string message ) : EcmaError
message string
리턴 EcmaError

TypeError0() 공개 정적인 메소드

public static TypeError0 ( string messageId ) : EcmaError
messageId string
리턴 EcmaError

TypeError1() 공개 정적인 메소드

public static TypeError1 ( string messageId, string arg1 ) : EcmaError
messageId string
arg1 string
리턴 EcmaError

TypeError2() 공개 정적인 메소드

public static TypeError2 ( string messageId, string arg1, string arg2 ) : EcmaError
messageId string
arg1 string
arg2 string
리턴 EcmaError

TypeError3() 공개 정적인 메소드

public static TypeError3 ( string messageId, string arg1, string arg2, string arg3 ) : EcmaError
messageId string
arg1 string
arg2 string
arg3 string
리턴 EcmaError

TypeErrorThrower() 공개 정적인 메소드

Returns representation of the [[ThrowTypeError]] object.
Returns representation of the [[ThrowTypeError]] object. See ECMA 5 spec, 13.2.3
public static TypeErrorThrower ( ) : BaseFunction
리턴 BaseFunction

Typeof() 공개 정적인 메소드

The typeof operator
public static Typeof ( object value ) : string
value object
리턴 string

TypeofName() 공개 정적인 메소드

The typeof operator that correctly handles the undefined case
public static TypeofName ( Scriptable scope, string id ) : string
scope Scriptable
id string
리턴 string

UndefCallError() 공개 정적인 메소드

public static UndefCallError ( object @object, object id ) : Exception
@object object
id object
리턴 System.Exception

UndefReadError() 공개 정적인 메소드

public static UndefReadError ( object @object, object id ) : Exception
@object object
id object
리턴 System.Exception

UndefWriteError() 공개 정적인 메소드

public static UndefWriteError ( object @object, object id, object value ) : Exception
@object object
id object
value object
리턴 System.Exception

UpdateDotQuery() 공개 정적인 메소드

public static UpdateDotQuery ( bool value, Scriptable scope ) : object
value bool
scope Scriptable
리턴 object

WrapBoolean() 공개 정적인 메소드

public static WrapBoolean ( bool b ) : bool
b bool
리턴 bool

WrapException() 공개 정적인 메소드

public static WrapException ( Exception t, Scriptable scope, Context cx ) : Scriptable
t System.Exception
scope Scriptable
cx Context
리턴 Scriptable

WrapInt() 공개 정적인 메소드

public static WrapInt ( int i ) : int
i int
리턴 int

WrapNumber() 공개 정적인 메소드

public static WrapNumber ( double x ) : Number
x double
리턴 Number

WrapRegExp() 공개 정적인 메소드

public static WrapRegExp ( Context cx, Scriptable scope, object compiled ) : Scriptable
cx Context
scope Scriptable
compiled object
리턴 Scriptable

프로퍼티 상세

BooleanClass 공개적으로 정적으로 프로퍼티

public static Type,System BooleanClass
리턴 System.Type

ByteClass 공개적으로 정적으로 프로퍼티

public static Type,System ByteClass
리턴 System.Type

CharacterClass 공개적으로 정적으로 프로퍼티

public static Type,System CharacterClass
리턴 System.Type

ClassClass 공개적으로 정적으로 프로퍼티

public static Type,System ClassClass
리턴 System.Type

ContextClass 공개적으로 정적으로 프로퍼티

public static Type,System ContextClass
리턴 System.Type

ContextFactoryClass 공개적으로 정적으로 프로퍼티

public static Type,System ContextFactoryClass
리턴 System.Type

DateClass 공개적으로 정적으로 프로퍼티

public static Type,System DateClass
리턴 System.Type

DoubleClass 공개적으로 정적으로 프로퍼티

public static Type,System DoubleClass
리턴 System.Type

FloatClass 공개적으로 정적으로 프로퍼티

public static Type,System FloatClass
리턴 System.Type

FunctionClass 공개적으로 정적으로 프로퍼티

public static Type,System FunctionClass
리턴 System.Type

IntegerClass 공개적으로 정적으로 프로퍼티

public static Type,System IntegerClass
리턴 System.Type

LongClass 공개적으로 정적으로 프로퍼티

public static Type,System LongClass
리턴 System.Type

NaN 공개적으로 정적으로 프로퍼티

public static double NaN
리턴 double

NaNobj 공개적으로 정적으로 프로퍼티

public static double NaNobj
리턴 double

NumberClass 공개적으로 정적으로 프로퍼티

public static Type,System NumberClass
리턴 System.Type

ObjectClass 공개적으로 정적으로 프로퍼티

public static Type,System ObjectClass
리턴 System.Type

ROOT_LOCALE 공개적으로 정적으로 프로퍼티

public static CultureInfo,System.Globalization ROOT_LOCALE
리턴 System.Globalization.CultureInfo

ScriptableClass 공개적으로 정적으로 프로퍼티

public static Type,System ScriptableClass
리턴 System.Type

ScriptableObjectClass 공개적으로 정적으로 프로퍼티

public static Type,System ScriptableObjectClass
리턴 System.Type

ShortClass 공개적으로 정적으로 프로퍼티

public static Type,System ShortClass
리턴 System.Type

StringClass 공개적으로 정적으로 프로퍼티

public static Type,System StringClass
리턴 System.Type

emptyArgs 공개적으로 정적으로 프로퍼티

public static object[] emptyArgs
리턴 object[]

emptyStrings 공개적으로 정적으로 프로퍼티

public static string[] emptyStrings
리턴 string[]

messageProvider 공개적으로 정적으로 프로퍼티

public static ScriptRuntime.MessageProvider messageProvider
리턴 ScriptRuntime.MessageProvider

negativeZero 공개적으로 정적으로 프로퍼티

public static double negativeZero
리턴 double