Class Base
Base for a lexer that extract and generates definition files.
- Peg\Lib\Signals\Signal
-
Peg\Lib\Lexers\Base
Direct known subclasses
Peg\Lib\Lexers\Doxygen
public
|
|
public
|
#
SaveDefinitions( string $path = null, string $type = \Peg\Lib\Definitions\Type::JSON )
Generates definition files in a specified path. Can generate definitions of a specific type if the $type is specified using one of the values from \Peg\Lib\Definitions\Type |
protected
|
|
abstract public
|
Listen(),
Send(),
Unlisten()
|
public
string
|
$definitions_path | |
#
The path where resides the files with definitions of a c/c++ library. |
public
string
|
$headers_path | |
#
Full path where the definition c/c++ header files reside, this is used to correctly resolve a header file name by stripping this path out and only leaving the real header name. This may not be required in all lexers. |
public
|
$symbols | |
#
The symbols object used to store definitions. |
public
|
$exporter | |
#
Object used to create the symbols cache files. |
protected
|
$signal_data | |
#
Object used to send message signals. |