Documentation

Twig_Tests_LexerTest extends TestCase
in package

Table of Contents

testBigNumbers()  : mixed
testBracketsNesting()  : mixed
testLineDirective()  : mixed
testLineDirectiveInline()  : mixed
testLongBlock()  : mixed
testLongComments()  : mixed
testLongVar()  : mixed
testLongVerbatim()  : mixed
testNameLabelForFunction()  : mixed
testNameLabelForTag()  : mixed
testOperatorEndingWithALetterAtTheEndOfALine()  : mixed
testOverridingSyntax()  : mixed
testStringWithEscapedDelimiter()  : mixed
testStringWithEscapedInterpolation()  : mixed
testStringWithHash()  : mixed
testStringWithInterpolation()  : mixed
testStringWithNestedInterpolations()  : mixed
testStringWithNestedInterpolationsInBlock()  : mixed
testStringWithUnterminatedInterpolation()  : mixed
testUnterminatedBlock()  : mixed
testUnterminatedVariable()  : mixed
countToken()  : mixed

Methods

testBigNumbers()

public testBigNumbers() : mixed
Return values
mixed

testBracketsNesting()

public testBracketsNesting() : mixed
Return values
mixed

testLineDirective()

public testLineDirective() : mixed
Return values
mixed

testLineDirectiveInline()

public testLineDirectiveInline() : mixed
Return values
mixed

testLongBlock()

public testLongBlock() : mixed
Return values
mixed

testLongComments()

public testLongComments() : mixed
Return values
mixed

testLongVar()

public testLongVar() : mixed
Return values
mixed

testLongVerbatim()

public testLongVerbatim() : mixed
Return values
mixed

testNameLabelForFunction()

public testNameLabelForFunction() : mixed
Return values
mixed

testNameLabelForTag()

public testNameLabelForTag() : mixed
Return values
mixed

testOperatorEndingWithALetterAtTheEndOfALine()

public testOperatorEndingWithALetterAtTheEndOfALine() : mixed
Return values
mixed

testOverridingSyntax()

public testOverridingSyntax() : mixed
Return values
mixed

testStringWithEscapedDelimiter()

public testStringWithEscapedDelimiter() : mixed
Return values
mixed

testStringWithEscapedInterpolation()

public testStringWithEscapedInterpolation() : mixed
Return values
mixed

testStringWithHash()

public testStringWithHash() : mixed
Return values
mixed

testStringWithInterpolation()

public testStringWithInterpolation() : mixed
Return values
mixed

testStringWithNestedInterpolations()

public testStringWithNestedInterpolations() : mixed
Return values
mixed

testStringWithNestedInterpolationsInBlock()

public testStringWithNestedInterpolationsInBlock() : mixed
Return values
mixed

testStringWithUnterminatedInterpolation()

public testStringWithUnterminatedInterpolation() : mixed
Tags
expectedException

\Twig\Error\SyntaxError

expectedExceptionMessage

Unclosed """

Return values
mixed

testUnterminatedBlock()

public testUnterminatedBlock() : mixed
Tags
expectedException

\Twig\Error\SyntaxError

expectedExceptionMessage

Unclosed "block" in "index" at line 3

Return values
mixed

testUnterminatedVariable()

public testUnterminatedVariable() : mixed
Tags
expectedException

\Twig\Error\SyntaxError

expectedExceptionMessage

Unclosed "variable" in "index" at line 3

Return values
mixed

countToken()

protected countToken(mixed $template, mixed $type[, mixed $value = null ]) : mixed
Parameters
$template : mixed
$type : mixed
$value : mixed = null
Return values
mixed

Search results