예제 #1
0
 /// <summary>
 /// Accepts the incoming visitor to this class.
 /// </summary>
 /// <param name="stmt"></param>
 private object Execute(Stmt stmt)
 {
     if (stmt != null)
     {
         return(stmt.Accept(this));
     }
     return(null);
 }
예제 #2
0
 private void Resolve(Stmt stmt)
 {
     stmt.Accept(this);
 }