Lines Matching refs:Identifier
7 use PhpParser\Node\Identifier; alias
64 * @param string|Identifier $name The identifier to normalize
66 * @return Identifier The normalized identifier
68 public static function normalizeIdentifier($name): Identifier {
69 if ($name instanceof Identifier) {
74 return new Identifier($name);
83 * @param string|Identifier|Expr $name The identifier to normalize
85 * @return Identifier|Expr The normalized identifier or expression
88 if ($name instanceof Identifier || $name instanceof Expr) {
93 return new Identifier($name);
157 * @param string|Name|Identifier|ComplexType $type The type to normalize
159 * @return Name|Identifier|ComplexType The normalized type
164 !$type instanceof Name && !$type instanceof Identifier &&
199 $type = new Identifier($lowerType);
273 …return new Expr\ClassConstFetch(new FullyQualified(\get_class($value)), new Identifier($value->nam…