C# Class Machete.Runtime.Environment

Inheritance: IEnvironment
Afficher le fichier Open project: ChaosPandion/Machete

Méthodes publiques

Méthode Description
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

Method Details

BindFunctionDeclarations() public méthode

public BindFunctionDeclarations ( ReadOnlyList functionDeclarations, bool strict, bool configurableBindings ) : void
functionDeclarations ReadOnlyList
strict bool
configurableBindings bool
Résultat void

BindVariableDeclarations() public méthode

public BindVariableDeclarations ( ReadOnlyList variableDeclarations, bool strict, bool configurableBindings ) : void
variableDeclarations ReadOnlyList
strict bool
configurableBindings bool
Résultat void

CheckObjectCoercible() public méthode

public CheckObjectCoercible ( IDynamic value ) : void
value IDynamic
Résultat void

CombineGeneratorWithIterator() public méthode

public CombineGeneratorWithIterator ( Generator generator, IDynamic other ) : bool
generator Machete.Core.Generators.Generator
other IDynamic
Résultat bool

ConcatArgs() public méthode

public ConcatArgs ( IArgs first, IArgs second ) : IArgs
first IArgs
second IArgs
Résultat IArgs

CreateAccessorDescriptor() public méthode

public CreateAccessorDescriptor ( IDynamic get, IDynamic set, bool enumerable, bool configurable ) : IPropertyDescriptor
get IDynamic
set IDynamic
enumerable bool
configurable bool
Résultat IPropertyDescriptor

CreateArgs() public méthode

public CreateArgs ( IEnumerable values ) : IArgs
values IEnumerable
Résultat IArgs

CreateArray() public méthode

public CreateArray ( ) : IObject
Résultat IObject

CreateBoolean() public méthode

public CreateBoolean ( bool value ) : IBoolean
value bool
Résultat IBoolean

CreateDataDescriptor() public méthode

public CreateDataDescriptor ( IDynamic value, bool writable, bool enumerable, bool configurable ) : IPropertyDescriptor
value IDynamic
writable bool
enumerable bool
configurable bool
Résultat IPropertyDescriptor

CreateError() public méthode

public CreateError ( string message ) : MacheteRuntimeException
message string
Résultat Machete.Core.MacheteRuntimeException

CreateEvalError() public méthode

public CreateEvalError ( string message ) : MacheteRuntimeException
message string
Résultat Machete.Core.MacheteRuntimeException

CreateFunction() public méthode

public CreateFunction ( ExecutableCode executableCode, ReadOnlyList formalParameters, ILexicalEnvironment scope ) : IObject
executableCode Machete.Core.ExecutableCode
formalParameters ReadOnlyList
scope ILexicalEnvironment
Résultat IObject

CreateGenericDescriptor() public méthode

public CreateGenericDescriptor ( bool enumerable, bool configurable ) : IPropertyDescriptor
enumerable bool
configurable bool
Résultat IPropertyDescriptor

CreateIterableFromGenerator() public méthode

public CreateIterableFromGenerator ( ReadOnlyList steps, ReadOnlyList variableDeclarations, ILexicalEnvironment scope ) : IObject
steps ReadOnlyList
variableDeclarations ReadOnlyList
scope ILexicalEnvironment
Résultat IObject

CreateNumber() public méthode

public CreateNumber ( double value ) : INumber
value double
Résultat INumber

CreateObject() public méthode

public CreateObject ( ) : IObject
Résultat IObject

CreateObjectBuilder() public méthode

public CreateObjectBuilder ( IObject o ) : IObjectBuilder
o IObject
Résultat IObjectBuilder

CreateRangeError() public méthode

public CreateRangeError ( string message ) : MacheteRuntimeException
message string
Résultat Machete.Core.MacheteRuntimeException

CreateReference() public méthode

public CreateReference ( string name, IReferenceBase @base, bool strict ) : IReference
name string
@base IReferenceBase
strict bool
Résultat IReference

CreateReferenceError() public méthode

public CreateReferenceError ( string message ) : MacheteRuntimeException
message string
Résultat Machete.Core.MacheteRuntimeException

CreateRegExp() public méthode

public CreateRegExp ( string pattern, string flags ) : IObject
pattern string
flags string
Résultat IObject

CreateString() public méthode

public CreateString ( string value ) : IString
value string
Résultat IString

CreateSyntaxError() public méthode

public CreateSyntaxError ( string message ) : MacheteRuntimeException
message string
Résultat Machete.Core.MacheteRuntimeException

CreateTypeError() public méthode

public CreateTypeError ( string message ) : MacheteRuntimeException
message string
Résultat Machete.Core.MacheteRuntimeException

CreateUriError() public méthode

public CreateUriError ( string message ) : MacheteRuntimeException
message string
Résultat Machete.Core.MacheteRuntimeException

EnterContext() public méthode

public EnterContext ( ) : IExecutionContext
Résultat IExecutionContext

Environment() public méthode

public Environment ( ) : System
Résultat System

Execute() public méthode

public Execute ( ExecutableCode executableCode ) : IDynamic
executableCode Machete.Core.ExecutableCode
Résultat IDynamic

ForeachLoop() public méthode

public ForeachLoop ( string identifier, IDynamic iterable, Code loopBodyCode ) : void
identifier string
iterable IDynamic
loopBodyCode Code
Résultat void

FromPropertyDescriptor() public méthode

public FromPropertyDescriptor ( IPropertyDescriptor desc ) : IDynamic
desc IPropertyDescriptor
Résultat IDynamic

Instanceof() public méthode

public Instanceof ( IDynamic left, IDynamic right ) : bool
left IDynamic
right IDynamic
Résultat bool

ThrowRuntimeException() public méthode

public ThrowRuntimeException ( IDynamic thrown ) : void
thrown IDynamic
Résultat void

ToPropertyDescriptor() public méthode

public ToPropertyDescriptor ( IObject obj ) : IPropertyDescriptor
obj IObject
Résultat IPropertyDescriptor

Unwind() public méthode

public Unwind ( ) : void
Résultat void