Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Flow
Parser
PHP Class Flow\Parser
显示文件
Open project: nramenta/flow
Protected Properties
Property
Type
Description
$autoEscape
$blocks
$currentBlock
$extends
$imports
$inForLoop
$inMacro
$macros
$stream
$tags
Public Methods
Method
Description
__construct
(
TokenStream
$stream
)
parse
( )
Protected Methods
Method
Description
parseAddExpression
( )
parseAndExpression
( )
parseArrayExpression
( )
parseAttributeExpression
(
$node
)
parseAutoEscape
(
$token
)
parseBlock
(
$token
)
parseBreak
(
$token
)
parseCompareExpression
( )
parseConcatExpression
( )
parseConditionalExpression
( )
parseContinue
(
$token
)
parseDivExpression
( )
parseEndAutoEscape
(
$token
)
parseExpression
( )
parseExtends
(
$token
)
parseFilterExpression
(
$node
)
parseFor
(
$token
)
parseFunctionCallExpression
(
$node
)
parseIf
(
$token
)
parseIfModifier
(
$token
,
$node
)
parseImport
(
$token
)
parseInclude
(
$token
)
parseInclusionExpression
( )
parseJoinExpression
( )
parseLiteralExpression
( )
parseMacro
(
$token
)
parseMacroExpression
(
$token
)
parseModExpression
( )
parseMulExpression
( )
parseName
(
$expect
= true,
$match
= null )
parseNegExpression
( )
parseNotExpression
( )
parseOrExpression
( )
parseParent
(
$token
)
parsePosExpression
( )
parsePostfixExpression
(
$node
)
parsePrimaryExpression
( )
parseSet
(
$token
)
parseSubExpression
( )
parseUnaryExpression
( )
parseXorExpression
( )
subparse
(
$test
= null,
$next
= false )
Method Details
__construct()
public
method
public
__construct
(
TokenStream
$stream
)
$stream
TokenStream
parse()
public
method
public
parse
( )
parseAddExpression()
protected
method
protected
parseAddExpression
( )
parseAndExpression()
protected
method
protected
parseAndExpression
( )
parseArrayExpression()
protected
method
protected
parseArrayExpression
( )
parseAttributeExpression()
protected
method
protected
parseAttributeExpression
(
$node
)
parseAutoEscape()
protected
method
protected
parseAutoEscape
(
$token
)
parseBlock()
protected
method
protected
parseBlock
(
$token
)
parseBreak()
protected
method
protected
parseBreak
(
$token
)
parseCompareExpression()
protected
method
protected
parseCompareExpression
( )
parseConcatExpression()
protected
method
protected
parseConcatExpression
( )
parseConditionalExpression()
protected
method
protected
parseConditionalExpression
( )
parseContinue()
protected
method
protected
parseContinue
(
$token
)
parseDivExpression()
protected
method
protected
parseDivExpression
( )
parseEndAutoEscape()
protected
method
protected
parseEndAutoEscape
(
$token
)
parseExpression()
protected
method
protected
parseExpression
( )
parseExtends()
protected
method
protected
parseExtends
(
$token
)
parseFilterExpression()
protected
method
protected
parseFilterExpression
(
$node
)
parseFor()
protected
method
protected
parseFor
(
$token
)
parseFunctionCallExpression()
protected
method
protected
parseFunctionCallExpression
(
$node
)
parseIf()
protected
method
protected
parseIf
(
$token
)
parseIfModifier()
protected
method
protected
parseIfModifier
(
$token
,
$node
)
parseImport()
protected
method
protected
parseImport
(
$token
)
parseInclude()
protected
method
protected
parseInclude
(
$token
)
parseInclusionExpression()
protected
method
protected
parseInclusionExpression
( )
parseJoinExpression()
protected
method
protected
parseJoinExpression
( )
parseLiteralExpression()
protected
method
protected
parseLiteralExpression
( )
parseMacro()
protected
method
protected
parseMacro
(
$token
)
parseMacroExpression()
protected
method
protected
parseMacroExpression
(
$token
)
parseModExpression()
protected
method
protected
parseModExpression
( )
parseMulExpression()
protected
method
protected
parseMulExpression
( )
parseName()
protected
method
protected
parseName
(
$expect
= true,
$match
= null )
parseNegExpression()
protected
method
protected
parseNegExpression
( )
parseNotExpression()
protected
method
protected
parseNotExpression
( )
parseOrExpression()
protected
method
protected
parseOrExpression
( )
parseParent()
protected
method
protected
parseParent
(
$token
)
parsePosExpression()
protected
method
protected
parsePosExpression
( )
parsePostfixExpression()
protected
method
protected
parsePostfixExpression
(
$node
)
parsePrimaryExpression()
protected
method
protected
parsePrimaryExpression
( )
parseSet()
protected
method
protected
parseSet
(
$token
)
parseSubExpression()
protected
method
protected
parseSubExpression
( )
parseUnaryExpression()
protected
method
protected
parseUnaryExpression
( )
parseXorExpression()
protected
method
protected
parseXorExpression
( )
subparse()
protected
method
protected
subparse
(
$test
= null,
$next
= false )
Property Details
$autoEscape
protected_oe property
protected
$autoEscape
$blocks
protected_oe property
protected
$blocks
$currentBlock
protected_oe property
protected
$currentBlock
$extends
protected_oe property
protected
$extends
$imports
protected_oe property
protected
$imports
$inForLoop
protected_oe property
protected
$inForLoop
$inMacro
protected_oe property
protected
$inMacro
$macros
protected_oe property
protected
$macros
$stream
protected_oe property
protected
$stream
$tags
protected_oe property
protected
$tags