コード例 #1
0
ファイル: SquelchPhase.cs プロジェクト: pvginkel/Jint2
            public override BoundNode VisitCreateFunction(BoundCreateFunction node)
            {
                // It's the responsibility of the phases to apply the actions
                // to nested functions.

                return node.Update(
                    node.Function.Update(
                        node.Function.Name,
                        node.Function.Parameters,
                        Perform(node.Function.Body),
                        node.Function.Location
                    )
                );
            }