Example #1
0
 /// <summary>
 /// Execute a statement
 /// </summary>
 /// <param name="stmt">The statement</param>
 private void Execute(Stmt stmt)
 {
     if (stmt != null)
     {
         stmt.Accept(this);
     }
 }
Example #2
0
 private void Resolve(Stmt statement)
 {
     statement.Accept(this);
 }
Example #3
0
 public string GetString(Stmt stmt)
 {
     return((string)stmt.Accept(this, null));
 }
Example #4
0
 public void Visit(Stmt stmt)
 {
     stmt.Accept(this);
 }
Example #5
0
 private void Execute(Stmt stmt)
 {
     stmt.Accept(this);
 }
Example #6
0
 private Stmt Visit(Stmt statement)
 {
     return(statement.Accept(this));
 }
Example #7
0
 private void Resolve(Stmt stmt)
 {
     stmt.Accept(this);
 }
Example #8
0
 public TrashObject Execute(Stmt stmt)
 {
     return(stmt.Accept(this));
 }
Example #9
0
 internal void Execute(Stmt stmt)
 {
     stmt.Accept(this);
 }
Example #10
0
 public IEnumerable <string> PrintStmt(Stmt stmt)
 {
     return(stmt.Accept(this));
 }
Example #11
0
 private void Execute(Stmt statement)
 {
     statement?.Accept(this);
 }
Example #12
0
 void execute(Stmt stmt)
 {
     stmt.Accept(this);
 }
Example #13
0
 internal static string Print(Stmt stmt)
 {
     return(stmt.Accept(new AstPrinter()));
 }
Example #14
0
 internal void Resolve(Stmt stmt)
 {
     stmt.Accept(this);
 }