# -*- mode: snippet -*-
# name: protected
# key: protected
# condition: t
# expand-env: ((yas-indent-line 'fixed))
# --
	:- protected(${1:name}/${2:2}).
	:- mode($1($3), ${4:$$(yas-choose-value '("zero_or_more" "zero_or_one" "one_or_more" "one" "one_or_error" "error" "zero"))}).
	:- info($1/$2, [
		comment is '$5',
		argnames is [${6:args}]
	]).
	$1(${6:$(s-replace "'" "" yas-text)}) :-
		$0.
