Skip to content

Commit 8577b48

Browse files
committed
(maint) Add missing hook name
Previously the hook_before_pops_evaluate and hook_after_pops_evaluate hooks were created but not documented. This commit documents the two hooks.
1 parent 93f4b70 commit 8577b48

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

server/lib/puppet-debugserver/hooks.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,18 @@ module PuppetDebugServer
5858
# Fires after the Puppet::Parser::Functions is reset
5959
# Arguments:
6060
# Puppet::Parser::Functions - Instance of Puppet::Parser::Functions
61+
#
62+
# :hook_before_pops_evaluate
63+
# Fires before an item in the AST is evaluated
64+
# Arguments:
65+
# The Pops object about to be evaluated
66+
# The scope of the Pops object
67+
#
68+
# :hook_after_pops_evaluate
69+
# Fires after an item in the AST is evaluated
70+
# Arguments:
71+
# The Pops object about to be evaluated
72+
# The scope of the Pops object
6173

6274
class Hooks
6375
def initialize

0 commit comments

Comments
 (0)