コード例 #1
0
 public static LexicalEnvironment NewDeclarativeEnvironment(Engine engine, LexicalEnvironment outer = null)
 {
     return(new LexicalEnvironment(new DeclarativeEnvironmentRecord(engine), outer));
 }
コード例 #2
0
 public static LexicalEnvironment NewObjectEnvironment(Engine engine, ObjectInstance objectInstance, LexicalEnvironment outer, bool provideThis)
 {
     return(new LexicalEnvironment(new ObjectEnvironmentRecord(engine, objectInstance, provideThis), outer));
 }
コード例 #3
0
 public LexicalEnvironment(EnvironmentRecord record, LexicalEnvironment outer)
 {
     _record = record;
     _outer  = outer;
 }