final |
---|
Latte tag or n:attribute.
Methods | ||
---|---|---|
public
|
__construct(
string $name,
array $tokens,
Position $position,
bool $void = false,
bool $closing = false,
bool $inHead = false,
bool $inTag = false,
?ElementNode $htmlElement = null,
?self $parent = null,
?string $prefix = null,
?AreaNode $node = null,
?AreaNode $nAttributeNode = null,
)
|
# |
public
|
isInHead(): bool
|
# |
public
|
isInText(): bool
|
# |
public
|
isNAttribute(): bool
|
# |
public
|
getNotation(bool $withArgs = false): string
|
# |
public
|
closestTag(class-string[] $classes, ?callable $condition = null): ?self
|
# |
public
|
expectArguments(string $what = 'arguments'): void
|
# |
public
|
replaceNAttribute(AreaNode $node): void
|
# |
Constants | |||
---|---|---|---|
public
|
PrefixInner = 'inner'
|
# | |
public
|
PrefixTag = 'tag'
|
# | |
public
|
PrefixNone = ''
|
# | |
public
|
OutputNone = 0
|
# | |
public
|
OutputKeepIndentation = 1
|
# | |
public
|
OutputRemoveIndentation = 2
|
# |
Properties | |||
---|---|---|---|
public
|
TagParser
|
$parser
|
# |
public
|
int
|
$outputMode = self::OutputNone
|
# |
public
|
string
|
$name
|
# |
public
|
Position
|
$position
|
# |
public
|
bool
|
$void
|
# |
public
|
bool
|
$closing
|
# |
public
|
bool
|
$inHead
|
# |
public
|
bool
|
$inTag
|
# |
public
|
?ElementNode
|
$htmlElement
|
# |
public
|
?self
|
$parent
|
# |
public
|
?string
|
$prefix
|
# |
public
|
?AreaNode
|
$node
|
# |
public
|
?AreaNode
|
$nAttributeNode
|
# |