/PHP-Parser/lib/PhpParser/ |
H A D | NodeAbstract.php | 7 protected array $attributes; variable in PhpParser\\NodeAbstract 14 public function __construct(array $attributes = []) { argument 15 $this->attributes = $attributes; 25 return $this->attributes['startLine'] ?? -1; 37 return $this->attributes['startLine'] ?? -1; 49 return $this->attributes['endLine'] ?? -1; 108 return $this->attributes['comments'] ?? []; 152 $this->attributes[$key] = $value; 161 return $this->attributes[$key]; 168 return $this->attributes; [all …]
|
H A D | Error.php | 8 protected array $attributes; variable in PhpParser\\Error 16 public function __construct(string $message, array $attributes = []) { argument 18 $this->attributes = $attributes; 38 return $this->attributes['startLine'] ?? -1; 48 return $this->attributes['endLine'] ?? -1; 57 return $this->attributes; 65 public function setAttributes(array $attributes): void { argument 66 $this->attributes = $attributes; 86 $this->attributes['startLine'] = $line; 96 return isset($this->attributes['startFilePos'], $this->attributes['endFilePos']); [all …]
|
/PHP-Parser/lib/PhpParser/Node/Scalar/ |
H A D | Int_.php | 24 public function __construct(int $value, array $attributes = []) { argument 25 $this->attributes = $attributes; 43 $attributes['rawValue'] = $str; 48 $attributes['kind'] = Int_::KIND_DEC; 49 return new Int_((int) $str, $attributes); 53 $attributes['kind'] = Int_::KIND_HEX; 54 return new Int_(hexdec($str), $attributes); 58 $attributes['kind'] = Int_::KIND_BIN; 59 return new Int_(bindec($str), $attributes); 72 $attributes['kind'] = Int_::KIND_OCT; [all …]
|
H A D | Float_.php | 17 public function __construct(float $value, array $attributes = []) { argument 18 $this->attributes = $attributes; 27 * @param mixed[] $attributes 29 public static function fromString(string $str, array $attributes = []): Float_ { argument 30 $attributes['rawValue'] = $str; 33 return new Float_($float, $attributes);
|
H A D | MagicConst.php | 13 public function __construct(array $attributes = []) { argument 14 $this->attributes = $attributes;
|
/PHP-Parser/bin/ |
H A D | php-parse | 18 list($operations, $files, $attributes) = parseArgs($argv); 29 $parser = (new PhpParser\ParserFactory())->createForVersion($attributes['version']); 32 'dumpPositions' => $attributes['with-positions'], 56 if ($attributes['with-recovery']) { 60 $message = formatErrorMessage($error, $code, $attributes['with-column-info']); 70 $message = formatErrorMessage($error, $code, $attributes['with-column-info']); 140 $attributes = [ 177 $attributes['with-column-info'] = true; 181 $attributes['with-positions'] = true; 185 $attributes['with-recovery'] = true; [all …]
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | VariadicPlaceholder.php | 16 public function __construct(array $attributes = []) { argument 17 $this->attributes = $attributes;
|
H A D | AttributeGroup.php | 15 public function __construct(array $attrs, array $attributes = []) { argument 16 $this->attributes = $attributes;
|
H A D | IntersectionType.php | 15 public function __construct(array $types, array $attributes = []) { argument 16 $this->attributes = $attributes;
|
H A D | UnionType.php | 15 public function __construct(array $types, array $attributes = []) { argument 16 $this->attributes = $attributes;
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | Error.php | 19 public function __construct(array $attributes = []) { argument 20 $this->attributes = $attributes;
|
H A D | Cast.php | 17 public function __construct(Expr $expr, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | Isset_.php | 17 public function __construct(array $vars, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | Variable.php | 17 public function __construct($name, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | PostDec.php | 17 public function __construct(Expr $var, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | PostInc.php | 17 public function __construct(Expr $var, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Const_.php | 17 public function __construct(array $consts, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | Echo_.php | 17 public function __construct(array $exprs, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | Else_.php | 17 public function __construct(array $stmts = [], array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | Finally_.php | 17 public function __construct(array $stmts = [], array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | Global_.php | 17 public function __construct(array $vars, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | Unset_.php | 17 public function __construct(array $vars, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | HaltCompiler.php | 17 public function __construct(string $remaining, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | InlineHTML.php | 17 public function __construct(string $value, array $attributes = []) { argument 18 $this->attributes = $attributes;
|
H A D | Block.php | 17 public function __construct(array $stmts, array $attributes = []) { argument 18 $this->attributes = $attributes;
|