C# Класс Machete.Runtime.Environment

Наследование: IEnvironment
Показать файл Открыть проект

Открытые методы

Метод Описание
BindFunctionDeclarations ( ReadOnlyList functionDeclarations, bool strict, bool configurableBindings ) : void
BindVariableDeclarations ( ReadOnlyList variableDeclarations, bool strict, bool configurableBindings ) : void
CheckObjectCoercible ( IDynamic value ) : void
CombineGeneratorWithIterator ( Generator generator, IDynamic other ) : bool
ConcatArgs ( IArgs first, IArgs second ) : IArgs
CreateAccessorDescriptor ( IDynamic get, IDynamic set, bool enumerable, bool configurable ) : IPropertyDescriptor
CreateArgs ( IEnumerable values ) : IArgs
CreateArray ( ) : IObject
CreateBoolean ( bool value ) : IBoolean
CreateDataDescriptor ( IDynamic value, bool writable, bool enumerable, bool configurable ) : IPropertyDescriptor
CreateError ( string message ) : MacheteRuntimeException
CreateEvalError ( string message ) : MacheteRuntimeException
CreateFunction ( ExecutableCode executableCode, ReadOnlyList formalParameters, ILexicalEnvironment scope ) : IObject
CreateGenericDescriptor ( bool enumerable, bool configurable ) : IPropertyDescriptor
CreateIterableFromGenerator ( ReadOnlyList steps, ReadOnlyList variableDeclarations, ILexicalEnvironment scope ) : IObject
CreateNumber ( double value ) : INumber
CreateObject ( ) : IObject
CreateObjectBuilder ( IObject o ) : IObjectBuilder
CreateRangeError ( string message ) : MacheteRuntimeException
CreateReference ( string name, IReferenceBase @base, bool strict ) : IReference
CreateReferenceError ( string message ) : MacheteRuntimeException
CreateRegExp ( string pattern, string flags ) : IObject
CreateString ( string value ) : IString
CreateSyntaxError ( string message ) : MacheteRuntimeException
CreateTypeError ( string message ) : MacheteRuntimeException
CreateUriError ( string message ) : MacheteRuntimeException
EnterContext ( ) : IExecutionContext
Environment ( ) : System
Execute ( ExecutableCode executableCode ) : IDynamic
ForeachLoop ( string identifier, IDynamic iterable, Code loopBodyCode ) : void
FromPropertyDescriptor ( IPropertyDescriptor desc ) : IDynamic
Instanceof ( IDynamic left, IDynamic right ) : bool
ThrowRuntimeException ( IDynamic thrown ) : void
ToPropertyDescriptor ( IObject obj ) : IPropertyDescriptor
Unwind ( ) : void

Описание методов

BindFunctionDeclarations() публичный Метод

public BindFunctionDeclarations ( ReadOnlyList functionDeclarations, bool strict, bool configurableBindings ) : void
functionDeclarations ReadOnlyList
strict bool
configurableBindings bool
Результат void

BindVariableDeclarations() публичный Метод

public BindVariableDeclarations ( ReadOnlyList variableDeclarations, bool strict, bool configurableBindings ) : void
variableDeclarations ReadOnlyList
strict bool
configurableBindings bool
Результат void

CheckObjectCoercible() публичный Метод

public CheckObjectCoercible ( IDynamic value ) : void
value IDynamic
Результат void

CombineGeneratorWithIterator() публичный Метод

public CombineGeneratorWithIterator ( Generator generator, IDynamic other ) : bool
generator Machete.Core.Generators.Generator
other IDynamic
Результат bool

ConcatArgs() публичный Метод

public ConcatArgs ( IArgs first, IArgs second ) : IArgs
first IArgs
second IArgs
Результат IArgs

CreateAccessorDescriptor() публичный Метод

public CreateAccessorDescriptor ( IDynamic get, IDynamic set, bool enumerable, bool configurable ) : IPropertyDescriptor
get IDynamic
set IDynamic
enumerable bool
configurable bool
Результат IPropertyDescriptor

CreateArgs() публичный Метод

public CreateArgs ( IEnumerable values ) : IArgs
values IEnumerable
Результат IArgs

CreateArray() публичный Метод

public CreateArray ( ) : IObject
Результат IObject

CreateBoolean() публичный Метод

public CreateBoolean ( bool value ) : IBoolean
value bool
Результат IBoolean

CreateDataDescriptor() публичный Метод

public CreateDataDescriptor ( IDynamic value, bool writable, bool enumerable, bool configurable ) : IPropertyDescriptor
value IDynamic
writable bool
enumerable bool
configurable bool
Результат IPropertyDescriptor

CreateError() публичный Метод

public CreateError ( string message ) : MacheteRuntimeException
message string
Результат Machete.Core.MacheteRuntimeException

CreateEvalError() публичный Метод

public CreateEvalError ( string message ) : MacheteRuntimeException
message string
Результат Machete.Core.MacheteRuntimeException

CreateFunction() публичный Метод

public CreateFunction ( ExecutableCode executableCode, ReadOnlyList formalParameters, ILexicalEnvironment scope ) : IObject
executableCode Machete.Core.ExecutableCode
formalParameters ReadOnlyList
scope ILexicalEnvironment
Результат IObject

CreateGenericDescriptor() публичный Метод

public CreateGenericDescriptor ( bool enumerable, bool configurable ) : IPropertyDescriptor
enumerable bool
configurable bool
Результат IPropertyDescriptor

CreateIterableFromGenerator() публичный Метод

public CreateIterableFromGenerator ( ReadOnlyList steps, ReadOnlyList variableDeclarations, ILexicalEnvironment scope ) : IObject
steps ReadOnlyList
variableDeclarations ReadOnlyList
scope ILexicalEnvironment
Результат IObject

CreateNumber() публичный Метод

public CreateNumber ( double value ) : INumber
value double
Результат INumber

CreateObject() публичный Метод

public CreateObject ( ) : IObject
Результат IObject

CreateObjectBuilder() публичный Метод

public CreateObjectBuilder ( IObject o ) : IObjectBuilder
o IObject
Результат IObjectBuilder

CreateRangeError() публичный Метод

public CreateRangeError ( string message ) : MacheteRuntimeException
message string
Результат Machete.Core.MacheteRuntimeException

CreateReference() публичный Метод

public CreateReference ( string name, IReferenceBase @base, bool strict ) : IReference
name string
@base IReferenceBase
strict bool
Результат IReference

CreateReferenceError() публичный Метод

public CreateReferenceError ( string message ) : MacheteRuntimeException
message string
Результат Machete.Core.MacheteRuntimeException

CreateRegExp() публичный Метод

public CreateRegExp ( string pattern, string flags ) : IObject
pattern string
flags string
Результат IObject

CreateString() публичный Метод

public CreateString ( string value ) : IString
value string
Результат IString

CreateSyntaxError() публичный Метод

public CreateSyntaxError ( string message ) : MacheteRuntimeException
message string
Результат Machete.Core.MacheteRuntimeException

CreateTypeError() публичный Метод

public CreateTypeError ( string message ) : MacheteRuntimeException
message string
Результат Machete.Core.MacheteRuntimeException

CreateUriError() публичный Метод

public CreateUriError ( string message ) : MacheteRuntimeException
message string
Результат Machete.Core.MacheteRuntimeException

EnterContext() публичный Метод

public EnterContext ( ) : IExecutionContext
Результат IExecutionContext

Environment() публичный Метод

public Environment ( ) : System
Результат System

Execute() публичный Метод

public Execute ( ExecutableCode executableCode ) : IDynamic
executableCode Machete.Core.ExecutableCode
Результат IDynamic

ForeachLoop() публичный Метод

public ForeachLoop ( string identifier, IDynamic iterable, Code loopBodyCode ) : void
identifier string
iterable IDynamic
loopBodyCode Code
Результат void

FromPropertyDescriptor() публичный Метод

public FromPropertyDescriptor ( IPropertyDescriptor desc ) : IDynamic
desc IPropertyDescriptor
Результат IDynamic

Instanceof() публичный Метод

public Instanceof ( IDynamic left, IDynamic right ) : bool
left IDynamic
right IDynamic
Результат bool

ThrowRuntimeException() публичный Метод

public ThrowRuntimeException ( IDynamic thrown ) : void
thrown IDynamic
Результат void

ToPropertyDescriptor() публичный Метод

public ToPropertyDescriptor ( IObject obj ) : IPropertyDescriptor
obj IObject
Результат IPropertyDescriptor

Unwind() публичный Метод

public Unwind ( ) : void
Результат void