mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-30 04:29:15 +01:00
Fix some doc comments
This commit is contained in:
parent
a590937fdf
commit
8d218110db
@ -47,7 +47,7 @@ class #(-p)
|
||||
, "???"
|
||||
);
|
||||
|
||||
/* @var Map which translates lexer tokens to internal tokens */
|
||||
/* @var array Map which translates lexer tokens to internal tokens */
|
||||
protected static $translate = array(
|
||||
#listvar yytranslate
|
||||
);
|
||||
|
@ -46,7 +46,7 @@ class PHPParser_Comment
|
||||
/**
|
||||
* Sets the line number the comment started on.
|
||||
*
|
||||
* @param int Line number
|
||||
* @param int $line Line number
|
||||
*/
|
||||
public function setLine($line) {
|
||||
$this->line = $line;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* @property PHPParser_Node[] $stmts Statements
|
||||
* @property PHPParser_Node_Stmt_FuncParam[] $params Parameters
|
||||
* @property PHPParser_Node_Param[] $params Parameters
|
||||
* @property PHPParser_Node_Expr_ClosureUse[] $uses use()s
|
||||
* @property bool $byRef Whether to return by reference
|
||||
* @property bool $static Whether the closure is static
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @property double $value Number value
|
||||
* @property float $value Number value
|
||||
*/
|
||||
class PHPParser_Node_Scalar_DNumber extends PHPParser_Node_Scalar
|
||||
{
|
||||
|
@ -1,15 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @property PHPParser_Node_Stmts_StaticVar[] $vars Variable definitions
|
||||
* @property PHPParser_Node_Stmt_StaticVar[] $vars Variable definitions
|
||||
*/
|
||||
class PHPParser_Node_Stmt_Static extends PHPParser_Node_Stmt
|
||||
{
|
||||
/**
|
||||
* Constructs a static variables list node.
|
||||
*
|
||||
* @param PHPParser_Node_Stmts_StaticVar[] $vars Variable definitions
|
||||
* @param array $attributes Additional attributes
|
||||
* @param PHPParser_Node_Stmt_StaticVar[] $vars Variable definitions
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct(array $vars, array $attributes = array()) {
|
||||
parent::__construct(
|
||||
|
@ -1,17 +1,17 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @property PHPParser_Node_Name[] $traits Traits
|
||||
* @property PHPParser_Node_TraitUseAdaptation[] $adaptations Adaptations
|
||||
* @property PHPParser_Node_Name[] $traits Traits
|
||||
* @property PHPParser_Node_Stmt_TraitUseAdaptation[] $adaptations Adaptations
|
||||
*/
|
||||
class PHPParser_Node_Stmt_TraitUse extends PHPParser_Node_Stmt
|
||||
{
|
||||
/**
|
||||
* Constructs a trait use node.
|
||||
*
|
||||
* @param PHPParser_Node_Name[] $traits Traits
|
||||
* @param PHPParser_Node_TraitUseAdaptation[] $adaptations Adaptations
|
||||
* @param array $attributes Additional attributes
|
||||
* @param PHPParser_Node_Name[] $traits Traits
|
||||
* @param PHPParser_Node_Stmt_TraitUseAdaptation[] $adaptations Adaptations
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct(array $traits, array $adaptations = array(), array $attributes = array()) {
|
||||
parent::__construct(
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* @property PHPParser_Node_Expr $cond Condition
|
||||
* @property PHPParsre_Node[] $stmts Statements
|
||||
* @property PHPParser_Node[] $stmts Statements
|
||||
*/
|
||||
class PHPParser_Node_Stmt_While extends PHPParser_Node_Stmt
|
||||
{
|
||||
|
@ -308,7 +308,7 @@ class PHPParser_Parser
|
||||
, "???"
|
||||
);
|
||||
|
||||
/* @var Map which translates lexer tokens to internal tokens */
|
||||
/* @var array Map which translates lexer tokens to internal tokens */
|
||||
protected static $translate = array(
|
||||
0, 149, 149, 149, 149, 149, 149, 149, 149, 149,
|
||||
149, 149, 149, 149, 149, 149, 149, 149, 149, 149,
|
||||
|
Loading…
Reference in New Issue
Block a user