ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
testLegacyConstructorSignature () | |
legacy More... | |
testNameLabelForTag () | |
testNameLabelForFunction () | |
testBracketsNesting () | |
testLineDirective () | |
testLineDirectiveInline () | |
testLongComments () | |
testLongVerbatim () | |
testLongVar () | |
testLongBlock () | |
testBigNumbers () | |
testStringWithEscapedDelimiter () | |
testStringWithInterpolation () | |
testStringWithEscapedInterpolation () | |
testStringWithHash () | |
testStringWithUnterminatedInterpolation () | |
Twig_Error_Syntax Unclosed """ More... | |
testStringWithNestedInterpolations () | |
testStringWithNestedInterpolationsInBlock () | |
testOperatorEndingWithALetterAtTheEndOfALine () | |
testUnterminatedVariable () | |
Twig_Error_Syntax Unclosed "variable" in "index" at line 3 More... | |
testUnterminatedBlock () | |
Twig_Error_Syntax Unclosed "block" in "index" at line 3 More... | |
Protected Member Functions | |
countToken ($template, $type, $value=null) | |
Definition at line 11 of file LexerTest.php.
|
protected |
Definition at line 54 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, PHPMailer\PHPMailer\$token, and $type.
Referenced by testBracketsNesting().
Twig_Tests_LexerTest::testBigNumbers | ( | ) |
Definition at line 160 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, and $template.
Twig_Tests_LexerTest::testBracketsNesting | ( | ) |
Definition at line 46 of file LexerTest.php.
References $template, countToken(), and Twig_Token\PUNCTUATION_TYPE.
Twig_Tests_LexerTest::testLegacyConstructorSignature | ( | ) |
legacy
Definition at line 16 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream.
Twig_Tests_LexerTest::testLineDirective | ( | ) |
Definition at line 72 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, Twig_Token\NAME_TYPE, Twig_Token\TEXT_TYPE, and Twig_Token\VAR_START_TYPE.
Twig_Tests_LexerTest::testLineDirectiveInline | ( | ) |
Definition at line 94 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, Twig_Token\NAME_TYPE, Twig_Token\TEXT_TYPE, and Twig_Token\VAR_START_TYPE.
Twig_Tests_LexerTest::testLongBlock | ( | ) |
Definition at line 148 of file LexerTest.php.
References $template.
Twig_Tests_LexerTest::testLongComments | ( | ) |
Definition at line 112 of file LexerTest.php.
References $template.
Twig_Tests_LexerTest::testLongVar | ( | ) |
Definition at line 136 of file LexerTest.php.
References $template.
Twig_Tests_LexerTest::testLongVerbatim | ( | ) |
Definition at line 124 of file LexerTest.php.
References $template.
Twig_Tests_LexerTest::testNameLabelForFunction | ( | ) |
Definition at line 35 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, Twig_Token\NAME_TYPE, and Twig_Token\VAR_START_TYPE.
Twig_Tests_LexerTest::testNameLabelForTag | ( | ) |
Definition at line 24 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, Twig_Token\BLOCK_START_TYPE, and Twig_Token\NAME_TYPE.
Twig_Tests_LexerTest::testOperatorEndingWithALetterAtTheEndOfALine | ( | ) |
Definition at line 295 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, Twig_Token\NUMBER_TYPE, Twig_Token\OPERATOR_TYPE, and Twig_Token\VAR_START_TYPE.
Twig_Tests_LexerTest::testStringWithEscapedDelimiter | ( | ) |
Definition at line 171 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, $tests, Twig_Token\STRING_TYPE, and Twig_Token\VAR_START_TYPE.
Twig_Tests_LexerTest::testStringWithEscapedInterpolation | ( | ) |
Definition at line 210 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, Twig_Token\STRING_TYPE, Twig_Token\VAR_END_TYPE, and Twig_Token\VAR_START_TYPE.
Twig_Tests_LexerTest::testStringWithHash | ( | ) |
Definition at line 225 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, Twig_Token\STRING_TYPE, Twig_Token\VAR_END_TYPE, and Twig_Token\VAR_START_TYPE.
Twig_Tests_LexerTest::testStringWithInterpolation | ( | ) |
Definition at line 189 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, Twig_Token\INTERPOLATION_END_TYPE, Twig_Token\INTERPOLATION_START_TYPE, Twig_Token\NAME_TYPE, Twig_Token\NUMBER_TYPE, Twig_Token\OPERATOR_TYPE, Twig_Token\STRING_TYPE, Twig_Token\TEXT_TYPE, Twig_Token\VAR_END_TYPE, and Twig_Token\VAR_START_TYPE.
Twig_Tests_LexerTest::testStringWithNestedInterpolations | ( | ) |
Definition at line 252 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, Twig_Token\INTERPOLATION_END_TYPE, Twig_Token\INTERPOLATION_START_TYPE, Twig_Token\NAME_TYPE, Twig_Token\STRING_TYPE, Twig_Token\VAR_END_TYPE, and Twig_Token\VAR_START_TYPE.
Twig_Tests_LexerTest::testStringWithNestedInterpolationsInBlock | ( | ) |
Definition at line 273 of file LexerTest.php.
References GuzzleHttp\Psr7\$stream, $template, Twig_Token\BLOCK_END_TYPE, Twig_Token\BLOCK_START_TYPE, Twig_Token\INTERPOLATION_END_TYPE, Twig_Token\INTERPOLATION_START_TYPE, Twig_Token\NAME_TYPE, and Twig_Token\STRING_TYPE.
Twig_Tests_LexerTest::testStringWithUnterminatedInterpolation | ( | ) |
Twig_Error_Syntax Unclosed """
Definition at line 244 of file LexerTest.php.
References $template.
Twig_Tests_LexerTest::testUnterminatedBlock | ( | ) |
Twig_Error_Syntax Unclosed "block" in "index" at line 3
Definition at line 333 of file LexerTest.php.
References $template.
Twig_Tests_LexerTest::testUnterminatedVariable | ( | ) |
Twig_Error_Syntax Unclosed "variable" in "index" at line 3
Definition at line 314 of file LexerTest.php.
References $template.