Class Crafty_Core_Require

Description

Crafty_Core_Require class implementation

This is not a usual Crafty_Core_* class. It is meant to parse the [REQUIRE] tags that are actually parsed before the Crafty cores start their work. In contrast to the other cores that are utilized by Crafty_Block, this class is utilized by the Crafty_Compiler and is not saved in Crafty_Compiler::$cores. This might look like abuse but it is rather reuse of the complex parameter parser.

Located in /crafty/Crafty_Core_Require.class.php (line 57)

Crafty_Core
   |
   --Crafty_Core_Require
Method Summary
Crafty_Core_Require __construct (Crafty_Compiler $compiler)
void compile (mixed $data, Crafty_Block $block)
void _parameterCheck (mixed $data)
Variables
Methods
Constructor __construct (line 59)
  • access: public
Crafty_Core_Require __construct (Crafty_Compiler $compiler)

Redefinition of:
Crafty_Core::__construct()
Abstract constructor
compile (line 67)
  • access: public
void compile (mixed $data, Crafty_Block $block)

Redefinition of:
Crafty_Core::compile()
Compile this core to binary code
_parameterCheck (line 71)
  • access: protected
void _parameterCheck (mixed $data)

Inherited Methods

Inherited From Crafty_Core

Crafty_Core::__construct()
Crafty_Core::compile()
Crafty_Core::getPattern()
Crafty_Core::pregCallback()
Crafty_Core::randomVarname()
Crafty_Core::_defineCheck()
Crafty_Core::_pregCallbackArray()
Crafty_Core::_setPattern()

Documentation generated on Sat, 19 Feb 2005 01:43:46 +0100 by phpDocumentor 1.3.0RC3