PHP Class gossi\codegen\parser\FileParser

Inheritance: extends PhpParser\NodeVisitorAbstract
显示文件 Open project: gossi/php-code-generator Class Usage Examples

Public Methods

Method Description
__construct ( $filename )
addVisitor ( gossi\codegen\parser\visitor\ParserVisitorInterface $visitor )
enterNode ( PhpParser\Node $node )
hasVisitor ( gossi\codegen\parser\visitor\ParserVisitorInterface $visitor )
parse ( ) : AbstractPhpStruct
removeVisitor ( gossi\codegen\parser\visitor\ParserVisitorInterface $visitor )

Private Methods

Method Description
getParser ( )

Method Details

__construct() public method

public __construct ( $filename )

addVisitor() public method

public addVisitor ( gossi\codegen\parser\visitor\ParserVisitorInterface $visitor )
$visitor gossi\codegen\parser\visitor\ParserVisitorInterface

enterNode() public method

public enterNode ( PhpParser\Node $node )
$node PhpParser\Node

hasVisitor() public method

public hasVisitor ( gossi\codegen\parser\visitor\ParserVisitorInterface $visitor )
$visitor gossi\codegen\parser\visitor\ParserVisitorInterface

parse() public method

public parse ( ) : AbstractPhpStruct
return gossi\codegen\model\AbstractPhpStruct

removeVisitor() public method

public removeVisitor ( gossi\codegen\parser\visitor\ParserVisitorInterface $visitor )
$visitor gossi\codegen\parser\visitor\ParserVisitorInterface