Class Application
Holds global options and objects.
Methods summary
public static
|
#
Initialize( )
Initialize all variables used by Peg. Has to be called before any usage of
peg.
Initialize all variables used by Peg. Has to be called before any usage of
peg.
|
public static
boolean
|
#
ValidExtension( )
Check if the current directory is of a valid extension.
Check if the current directory is of a valid extension.
Returns
boolean
|
public static
string
|
#
GetCwd( )
Gets the current working directory.
Gets the current working directory.
Returns
string
|
public static
string
|
#
GetSkeletonPath( )
Retreieve the skeleton path from PEG_SKELETON_PATH or throws an exception if
not exists.
Retreieve the skeleton path from PEG_SKELETON_PATH or throws an exception if
not exists.
Returns
string
Throws
|
public static
Peg\Lib\Definitions\Symbols
&
|
#
GetDefinitions( )
Loads definitions files if not yet loaded and returns a reference to a
symbols object that can be used throught the application.
Loads definitions files if not yet loaded and returns a reference to a
symbols object that can be used throught the application.
Returns
|
public static
Peg\Lib\Plugins\Loader
&
|
#
GetPluginLoader( )
Get reference to the plugin loader currently used by peg.
Get reference to the plugin loader currently used by peg.
Returns
|