class MacroNode

Macro element node.

Constants

PREFIX_INNER

PREFIX_TAG

PREFIX_NONE

Properties

IMacro $macro
string $name
bool $empty
string $args
string $modifiers
bool $closing
bool $replaced
MacroTokens $tokenizer
MacroNode|null $parentNode
string $openingCode
string $closingCode
string $attrCode
string $content
string $innerContent
stdClass $data
HtmlNode|null $htmlNode
array $context
string $prefix
int $startLine
int $endLine
internal $saved

Methods

__construct(IMacro $macro, string $name, string $args = null, string $modifiers = null, MacroNode $parentNode = null, HtmlNode $htmlNode = null, string $prefix = null)

No description

void
setArgs(string|null $args)

No description

string
getNotation()

No description

Details

at line 89
__construct(IMacro $macro, string $name, string $args = null, string $modifiers = null, MacroNode $parentNode = null, HtmlNode $htmlNode = null, string $prefix = null)

No description

Parameters

IMacro $macro
string $name
string $args
string $modifiers
MacroNode $parentNode
HtmlNode $htmlNode
string $prefix

at line 109
void setArgs(string|null $args)

No description

Parameters

string|null $args

Return Value

void

at line 116
string getNotation()

No description

Return Value

string

Traits

Better OOP experience.