Rhino.Ast.FunctionNode.Visit C# (CSharp) 메소드

Visit() 공개 메소드

Visits this node, the function name node if supplied, the parameters, and the body.
Visits this node, the function name node if supplied, the parameters, and the body. If there is a member-expr node, it is visited last.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
리턴 void
		public override void Visit(NodeVisitor v)
		{
			if (v.Visit(this))
			{
				if (functionName != null)
				{
					functionName.Visit(v);
				}
				foreach (AstNode param in GetParams())
				{
					param.Visit(v);
				}
				GetBody().Visit(v);
				if (!isExpressionClosure)
				{
					if (memberExprNode != null)
					{
						memberExprNode.Visit(v);
					}
				}
			}
		}
	}