Searched refs:nodeType (Results 1 – 3 of 3) sorted by relevance
/PHP-Parser/lib/PhpParser/ |
H A D | JsonDecoder.php | 45 $nodeType = $value['nodeType']; 46 if (!\is_string($nodeType)) { 50 $reflectionClass = $this->reflectionClassFromNodeType($nodeType); 86 private function reflectionClassFromNodeType(string $nodeType): \ReflectionClass { argument 87 if (!isset($this->reflectionClassCache[$nodeType])) { 88 $className = $this->classNameFromNodeType($nodeType); 89 $this->reflectionClassCache[$nodeType] = new \ReflectionClass($className); 91 return $this->reflectionClassCache[$nodeType]; 95 private function classNameFromNodeType(string $nodeType): string { argument 96 $className = 'PhpParser\\Node\\' . strtr($nodeType, '_', '\\'); [all …]
|
/PHP-Parser/doc/component/ |
H A D | JSON_representation.markdown | 37 "nodeType": "Stmt_Function", 42 "nodeType": "Comment_Doc", 56 "nodeType": "Identifier", 65 "nodeType": "Param", 74 "nodeType": "Expr_Variable", 89 "nodeType": "Stmt_Echo", 96 "nodeType": "Expr_Variable", 104 "nodeType": "Scalar_String",
|
/PHP-Parser/ |
H A D | CHANGELOG.md | 1030 * Nodes and Comments now implement `JsonSerializable`. The node kind is stored in a `nodeType`
|
Completed in 9 milliseconds