예제 #1
0
 public Reference(ScriptValue baseValue, ScriptValue name, ScriptValue thisValue, bool strict)
 {
     IsStrictReference = strict;
     this.baseValue    = baseValue;
     this.thisValue    = thisValue;
     baseEnvironment   = null;
     ReferencedName    = name;
 }
예제 #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;
 }
예제 #3
0
 private LexicalEnvironment([NotNull] BaseEnvironment environment)
 {
     Environment = environment;
 }
예제 #4
0
 private LexicalEnvironment([NotNull] BaseEnvironment environment, LexicalEnvironment outerEnvironment)
 {
     Environment      = environment;
     OuterEnvironment = outerEnvironment;
 }