Documentation

ConstExprParser
in package

Table of Contents

Properties

$config  : ParserConfig
$parseDoctrineStrings  : bool

Methods

__construct()  : mixed
parse()  : ConstExprNode
parseDoctrineString()  : DoctrineConstExprStringNode
This method is supposed to be called with TokenIterator after reading TOKEN_DOUBLE_QUOTED_STRING and shifting to the next token.
enrichWithAttributes()  : T
parseArray()  : ConstExprArrayNode
parseArrayItem()  : ConstExprArrayItemNode

Properties

Methods

enrichWithAttributes()

private enrichWithAttributes(TokenIterator $tokens, T $node, int $startLine, int $startIndex) : T
Parameters
$tokens : TokenIterator
$node : T
$startLine : int
$startIndex : int
Tags
template
Return values
T

        
On this page

Search results