34 $body = $this->parser->subparse(
array($this,
'decideSpacelessEnd'),
true);
42 return $token->
test(
'endspaceless');
51 class_alias(
'Twig_TokenParser_Spaceless',
'Twig\TokenParser\SpacelessTokenParser',
false);
test($type, $values=null)
Tests the current token for a type and/or a value.
parse(Twig_Token $token)
Parses a token and returns a node.
getTag()
Gets the tag name associated with this token parser.
Represents a spaceless node.
Base class for all token parsers.
decideSpacelessEnd(Twig_Token $token)
Remove whitespaces between HTML tags.
Create styles array
The data for the language used.