MacroSet
class MacroSet implements Macro
Base Macro implementation. Allows add multiple macros.
Methods
addMacro(string $name, $begin, $end = null, $attr = null, int $flags = null)
No description
void
initialize()
Initializes before template parsing.
array|null
finalize()
Finishes template parsing.
bool|null
void
getCompiler()
No description
void
Details
at line 31
__construct(Compiler $compiler)
No description
at line 37
addMacro(string $name, $begin, $end = null, $attr = null, int $flags = null)
No description
at line 58
void
initialize()
Initializes before template parsing.
at line 67
array|null
finalize()
Finishes template parsing.
at line 77
bool|null
nodeOpened(MacroNode $node)
New node is found.
at line 133
void
nodeClosed(MacroNode $node)
Node is closed.
at line 158
Compiler
getCompiler()
No description
at line 165
protected void
checkExtraArgs(MacroNode $node)
internal |
No description
Traits
Better OOP experience.