Class Base
Declares the base for a parse action that extract and generates definition files.
- Peg\Custom\CommandLine\Action
-
Peg\Custom\Command\Action\Parse\Base
Direct known subclasses
Peg\Custom\Command\Action\Parse\Doxygen
public
|
#
__construct( string $input_format )
You derived class should override this and set the input_format name of your parser/lexer so it is called apropiately when this variable is set. |
public
|
#
OnCall(
You shouldn't override this method, instead write a Start() implementation. |
abstract public
|
protected
|
$command | |
#
Reference to command that called this action. |
protected
string
|
$input_format | |
#
Format of the files to parse/lex. |
protected
string
|
$output_format | |
#
Format used to store the parsed definition files. |
protected
string
|
$headers_path | |
#
This is used optionally by a children implementing this class in order for them to correctly resolve a header file. For example: doxygen xml files store the full path to the header file where a symbol was found, eg: /home/user/libs/wx/frame.h, if this variable is set to /home/user/libs/ the final header file will be stored on the symbols object as wx/frame.h |
protected
boolean
|
$verbose | |
#
Flag that indicates if the lexer/parser should output messages of its current status. |