PHP 클래스 Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\SimpleParser

상속: implements Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface, use trait Nelmio\Alice\IsAServiceTrait
파일 보기 프로젝트 열기: nelmio/alice 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface $lexer, Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface $tokenParser )
parse ( string $value )

비공개 메소드들

메소드 설명
parseToken ( array $parsedTokens, Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface $parser, Token $token ) : array Parses the given token. If the value returned is a ListValue, its values will be merged to the list of parsed tokens instead of adding the value itself. Another check is done to ensure that successive string tokens are merged.

메소드 상세

__construct() 공개 메소드

public __construct ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface $lexer, Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface $tokenParser )
$lexer Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface
$tokenParser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParserInterface

parse() 공개 메소드

public parse ( string $value )
$value string