public ClassInfo(string Name, LiteEnv Env, SyntaxClassBodyStatementNode BodyNode, ClassInfo BaseClass) { this.Name_ = Name; this.BaseClass_ = BaseClass; this.Env_ = Env; this.Body_ = BodyNode; }
public void InitObject(IVisitor Visitor, ClassInfo Cls, LiteEnv Env) { if (Cls.GetBaseClass() != null) { InitObject(Visitor, Cls.GetBaseClass(), Env); } Cls.GetBody().Accept(Visitor, Env); }
public LiteObject(LiteEnv Env) { this.Env_ = Env; }
public void SetOuterEnv(LiteEnv OuterEnv) { OuterEnv_ = OuterEnv; }
public LiteEnv(LiteEnv OuterEnv) { Variable_ = new Dictionary <string, LiteValue>(); Stack_ = new Stack <LiteValue>(); OuterEnv_ = OuterEnv; }