PHP 클래스 Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\TokenParser\Chainable\TolerantFunctionTokenParser

상속: extends AbstractChainableParserAwareParser, use trait Nelmio\Alice\IsAServiceTrait
파일 보기 프로젝트 열기: nelmio/alice

공개 메소드들

메소드 설명
__construct ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\ChainableTokenParserInterface $functionTokenParser, Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser = null )
canParse ( Token $token ) : boolean
parse ( Token $token ) : FunctionCallValue | ListValue Handle cases like ' ' by trying to break down the token.
withParser ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser ) : self

비공개 메소드들

메소드 설명
mergeValues ( array $values ) : NestedValue

메소드 상세

__construct() 공개 메소드

public __construct ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\ChainableTokenParserInterface $functionTokenParser, Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser = null )
$functionTokenParser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Parser\ChainableTokenParserInterface
$parser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface

canParse() 공개 메소드

public canParse ( Token $token ) : boolean
$token Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Token
리턴 boolean

parse() 공개 메소드

public parse ( Token $token ) : FunctionCallValue | ListValue
$token Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Token
리턴 Nelmio\Alice\Definition\Value\FunctionCallValue | Nelmio\Alice\Definition\Value\ListValue

withParser() 공개 메소드

public withParser ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser ) : self
$parser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface
리턴 self