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