PHP_UML
[ class tree: PHP_UML ] [ index: PHP_UML ] [ all elements ]

Class: PHP_UML_Input_PHP_Parser

Source Location: /PHP_UML-1.6.2/UML/Input/PHP/Parser.php

Class Overview


The PHP parser.


Author(s):

Methods


Child classes:

PHP_UML_Input_PHP_ParserImpl
An implementation of PHP parser.

Inherited Variables

Inherited Methods


Class Details

[line 28]
The PHP parser.

It stores all the program elements of a PHP file in a PHP_UML_Metamodel_Superstructure object.



[ Top ]


Method Detail

__construct (Constructor)   [line 39]

PHP_UML_Input_PHP_Parser __construct( PHP_UML_Metamodel_Superstructure &$struct, [PHP_UML_Input_PHP_ParserOptions $options = null])

Constructor
  • Abstract:
  • Access: public

Overridden in child classes as:

PHP_UML_Input_PHP_ParserImpl::__construct()

Parameters:

PHP_UML_Metamodel_Superstructure   &$struct   —  An empty instance of metamodel (superstructure)
PHP_UML_Input_PHP_ParserOptions   $options   —  List of parsing options

[ Top ]

parse   [line 48]

void parse( string $fileBase, [string $filePath = null])

Parse a PHP file
  • Abstract:
  • Access: public

Overridden in child classes as:

PHP_UML_Input_PHP_ParserImpl::parse()
Parse a PHP file

Parameters:

string   $fileBase   —  Full path, or base directory
string   $filePath   —  Pathfile (relative to $fileBase)

[ Top ]


Documentation generated on Mon, 11 Mar 2019 16:01:23 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.