/**
* Compiles a node.
*
- * @param Twig_NodeInterface $node The node to compile
- * @param integer $indent The current indentation
+ * @param Twig_NodeInterface $node The node to compile
+ * @param integer $indentation The current indentation
*
* @return Twig_Compiler The current compiler instance
*/
/**
* Adds a quoted string to the compiled code.
*
- * @param string $string The string
+ * @param string $value The string
*
* @return Twig_Compiler The current compiler instance
*/
/**
* Indents the generated code.
*
- * @param integer $indent The number of indentation to add
+ * @param integer $step The number of indentation to add
*
* @return Twig_Compiler The current compiler instance
*/
/**
* Outdents the generated code.
*
- * @param integer $indent The number of indentation to remove
+ * @param integer $step The number of indentation to remove
*
* @return Twig_Compiler The current compiler instance
*/
/**
* Registers a Filter.
*
- * @param string $name The filter name
- * @param Twig_FilterInterface $visitor A Twig_FilterInterface instance
+ * @param string $name The filter name
+ * @param Twig_FilterInterface $filter A Twig_FilterInterface instance
*/
public function addFilter($name, Twig_FilterInterface $filter)
{
/**
* Registers a Test.
*
- * @param string $name The test name
- * @param Twig_TestInterface $visitor A Twig_TestInterface instance
+ * @param string $name The test name
+ * @param Twig_TestInterface $test A Twig_TestInterface instance
*/
public function addTest($name, Twig_TestInterface $test)
{
* @param Twig_NodeInterface $node The node to visit
* @param Twig_Environment $env The Twig environment instance
*
- * @param Twig_NodeInterface The modified node
+ * @return Twig_NodeInterface The modified node
*/
public function enterNode(Twig_NodeInterface $node, Twig_Environment $env)
{
* @param Twig_NodeInterface $node The node to visit
* @param Twig_Environment $env The Twig environment instance
*
- * @param Twig_NodeInterface The modified node
+ * @return Twig_NodeInterface The modified node
*/
public function leaveNode(Twig_NodeInterface $node, Twig_Environment $env)
{
* @param Twig_NodeInterface $node The node to visit
* @param Twig_Environment $env The Twig environment instance
*
- * @param Twig_NodeInterface The modified node
+ * @return Twig_NodeInterface The modified node
*/
public function enterNode(Twig_NodeInterface $node, Twig_Environment $env)
{
* @param Twig_NodeInterface $node The node to visit
* @param Twig_Environment $env The Twig environment instance
*
- * @param Twig_NodeInterface The modified node
+ * @return Twig_NodeInterface The modified node
*/
public function leaveNode(Twig_NodeInterface $node, Twig_Environment $env)
{
*
* @return Twig_Node_Module A node tree
*/
- function parse(Twig_TokenStream $code);
+ function parse(Twig_TokenStream $stream);
}
*
* @param integer $type The type as an integer
* @param Boolean $short Whether to return a short representation or not
+ * @param integer $line The code line
*
* @return string The string representation
*/
/**
* Returns the english representation of a given type.
*
- * @param integer $type The type as an integer
- * @param Boolean $short Whether to return a short representation or not
+ * @param integer $type The type as an integer
+ * @param integer $line The code line
*
* @return string The string representation
*/