Esempio n. 1
0
 public Reference(ScriptValue baseValue, ScriptValue name, ScriptValue thisValue, bool strict)
 {
     IsStrictReference = strict;
     this.baseValue    = baseValue;
     this.thisValue    = thisValue;
     baseEnvironment   = null;
     ReferencedName    = name;
 }
Esempio n. 2
0
 public Reference([CanBeNull] BaseEnvironment baseEnvironment, [NotNull] string name, bool strict)
 {
     IsStrictReference    = strict;
     baseValue            = ScriptValue.Undefined;
     thisValue            = ScriptValue.Undefined;
     this.baseEnvironment = baseEnvironment;
     ReferencedName       = name;
 }
 private LexicalEnvironment([NotNull] BaseEnvironment environment)
 {
     Environment = environment;
 }
 private LexicalEnvironment([NotNull] BaseEnvironment environment, LexicalEnvironment outerEnvironment)
 {
     Environment      = environment;
     OuterEnvironment = outerEnvironment;
 }