Attach the specified tempcode to the right of the current tempcode object.
void
attach
(mixed $attach, [?array $escape = NULL], [boolean $avoid_children_merge = false])
-
mixed
$attach: The tempcode/string to attach
-
?array
$escape: Extra escaping (NULL: none)
-
boolean
$avoid_children_merge: If we've already merged the children from what we're attaching into the child tree (at bind stage)
Find the identifier component of a variable within this Tempcode.
string
extract_identifier_at
(integer $at)
-
integer
$at: Offset to the variable
Find whether the current tempcode object is blank or not.
boolean
is_empty
()
Constructor of tempcode
void
ocp_tempcode
()
Find whether a variable within this Tempcode is parameterless.
boolean
parameterless
(integer $at)
-
integer
$at: Offset to the variable
Parse a single symbol from an input stream and append it.
void
parse_from
(string &$code, integer &$pos, integer &$len)
-
string
&$code: Code string (input stream)
-
integer
&$pos: Read position
-
integer
&$len: Length of input string
Set the embedment of a directive within this Tempcode.
void
set_directive_embedment
(integer $at, tempcode $set)
-
integer
$at: Offset to directive
-
tempcode
$set: New embedment