-->
:Bodyexpand_term(
+T,
-X)
hookableuser:term_expansion/6
or grammar rule expansion
phrase(
:P,
-L)
phrase(
:P,
?L,
?R)
user:term_expansion(
+Term1,
+Layout1,
+Tokens1,
-Term2,
-Layout2,
-Tokens2)
hookexpand_term/2
.