Exemplo n.º 1
0
 void ITreeWalker.Visit(ReturnStatement statement)
 {
     statement.Validate(this);
     statement.Expression.Accept(this);
     _operations.Add(RetOperation.Instance);
 }
Exemplo n.º 2
0
 void ITreeWalker.Visit(ReturnStatement statement)
 {
     statement.Validate(this);
     InsertReturn(() => statement.Expression.Accept(this));
 }