Home
last modified time | relevance | path

Searched defs:type (Results 1 – 24 of 24) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/
H A DNullableType.php9 public Node $type; variable in PhpParser\\Node\\NullableType
17 public function __construct(Node $type, array $attributes = []) {
H A DUseItem.php13 public int $type; variable in PhpParser\\Node\\UseItem
27 …public function __construct(Node\Name $name, $alias = null, int $type = Use_::TYPE_UNKNOWN, array …
H A DParam.php11 public ?Node $type; variable in PhpParser\\Node\\Param
41 Expr $var, ?Expr $default = null, ?Node $type = null,
/PHP-Parser/lib/PhpParser/
H A DNameContext.php55 … public function addAlias(Name $name, string $aliasName, int $type, array $errorAttrs = []): void {
101 public function getResolvedName(Name $name, int $type): ?Name {
156 public function getPossibleNames(string $name, int $type): array {
212 public function getShortName(string $name, int $type): Name {
229 private function resolveAlias(Name $name, int $type): ?FullyQualified {
252 private function getNamespaceRelativeName(string $name, string $lcName, int $type): ?Name {
H A DNodeDumper.php213 private function dumpIncludeType(int $type): string {
222 private function dumpUseType(int $type): string {
H A DPhpVersion.php97 public function supportsBuiltinType(string $type): bool {
H A DBuilderHelpers.php161 public static function normalizeType($type) {
/PHP-Parser/lib/PhpParser/Internal/
H A DDiffElem.php15 public int $type; variable in PhpParser\\Internal\\DiffElem
26 public function __construct(int $type, $old, $new) {
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DGroupUse.php13 public int $type; variable in PhpParser\\Node\\Stmt\\GroupUse
27 …public function __construct(Name $prefix, array $uses, int $type = Use_::TYPE_NORMAL, array $attri…
H A DUse_.php23 public int $type; variable in PhpParser\\Node\\Stmt\\Use_
34 … public function __construct(array $uses, int $type = self::TYPE_NORMAL, array $attributes = []) {
H A DClassConst.php16 public ?Node $type; variable in PhpParser\\Node\\Stmt\\ClassConst
32 ?Node $type = null
H A DProperty.php18 public ?Node $type; variable in PhpParser\\Node\\Stmt\\Property
34 …public function __construct(int $flags, array $props, array $attributes = [], ?Node $type = null, …
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DInclude_.php16 public int $type; variable in PhpParser\\Node\\Expr\\Include_
25 public function __construct(Expr $expr, int $type, array $attributes = []) {
/PHP-Parser/lib/PhpParser/Builder/
H A DUse_.php13 protected int $type; variable in PhpParser\\Builder\\Use_
22 public function __construct($name, int $type) {
H A DParam.php14 protected ?Node $type = null; variable in PhpParser\\Builder\\Param
50 public function setType($type) {
H A DClassConst.php25 protected ?Node $type = null; variable in PhpParser\\Builder\\ClassConst
130 public function setType($type) {
H A DFunctionLike.php68 public function setReturnType($type) {
H A DProperty.php23 protected ?Node $type = null; variable in PhpParser\\Builder\\Property
172 public function setType($type) {
H A DTraitUseAdaptation.php16 protected int $type; variable in PhpParser\\Builder\\TraitUseAdaptation
/PHP-Parser/test/PhpParser/Builder/
H A DUseTest.php10 protected function createUseBuilder($name, $type = Stmt\Use_::TYPE_NORMAL) {
/PHP-Parser/test/PhpParser/
H A DNameContextTest.php12 public function testGetPossibleNames($type, $name, $expectedPossibleNames): void {
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php171 private function addAlias(Node\UseItem $use, int $type, ?Name $prefix = null): void {
221 protected function resolveName(Name $name, int $type): Name {
/PHP-Parser/
H A Dcomposer.json3 "type": "library", string
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php774 protected function pUseType(int $type): string {

Completed in 31 milliseconds