class Twig_Lexer

Lexes a template string.

Constants

STATE_DATA

STATE_BLOCK

STATE_VAR

STATE_STRING

STATE_INTERPOLATION

REGEX_NAME

REGEX_NUMBER

REGEX_STRING

REGEX_DQ_STRING_DELIM

REGEX_DQ_STRING_PART

PUNCTUATION

Methods

__construct(Twig_Environment $env, array $options = array())

No description

tokenize(Twig_Source $source)

No description

Details

at line 49
__construct(Twig_Environment $env, array $options = array())

Parameters

Twig_Environment $env
array $options

at line 75
tokenize(Twig_Source $source)

Parameters

Twig_Source $source