aboutsummaryrefslogtreecommitdiff
path: root/lux-php
diff options
context:
space:
mode:
authorEduardo Julian2022-06-12 00:38:20 -0400
committerEduardo Julian2022-06-12 00:38:20 -0400
commitb48ea68a83d01903554c7696c77eedaaf1035680 (patch)
treec342d8094c3158de16526f874ca9624418cd2dd2 /lux-php
parent7abf2d0ac55c229a8793bbff31f132596ffcb275 (diff)
De-sigil-ification: suffix : [Part 3]
Diffstat (limited to 'lux-php')
-rw-r--r--lux-php/source/program.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-php/source/program.lux b/lux-php/source/program.lux
index 99148cb83..9c612ae97 100644
--- a/lux-php/source/program.lux
+++ b/lux-php/source/program.lux
@@ -166,7 +166,7 @@
"[1]::[0]"
(call [php/runtime/env/Environment [php/runtime/Memory]] "try" php/runtime/Memory))
-(template [<name>]
+(with_template [<name>]
[(ffi.interface: <name>
(getValue [] java/lang/Object))
@@ -246,7 +246,7 @@
[] (valueOfIndex self [trace php/runtime/env/TraceInfo
index php/runtime/Memory])
php/runtime/Memory
- (`` (<| (~~ (template [<class> <method> <extractor>]
+ (`` (<| (~~ (with_template [<class> <method> <extractor>]
[(case (ffi.as <class> index)
{.#Some index}
(<method> trace (<extractor> index) self)
@@ -379,7 +379,7 @@
(def: (read host_object)
Reader
- (`` (<| (~~ (template [<class> <constant>]
+ (`` (<| (~~ (with_template [<class> <constant>]
[(case (ffi.as <class> host_object)
{.#Some _}
{try.#Success <constant>}
@@ -389,7 +389,7 @@
[php/runtime/memory/FalseMemory false]
[php/runtime/memory/TrueMemory true]
))
- (~~ (template [<class> <post>]
+ (~~ (with_template [<class> <post>]
[(case (ffi.as <class> host_object)
{.#Some value}
(`` (|> value (~~ (template.splice <post>))))