Overview

Namespaces

  • Pharborist
    • Constants
    • ControlStructures
    • Exceptions
    • Functions
    • Generators
    • Namespaces
    • Objects
    • Operators
    • Types
    • Variables

Classes

  • NameNode
  • NamespaceNode
  • UseDeclarationBlockNode
  • UseDeclarationNode
  • UseDeclarationStatementNode

Traits

  • IdentifierNameTrait
  • Overview
  • Namespace
  • Class

Class UseDeclarationBlockNode

A set of use statements.

Example:

use \JohnCleese;
use \EricIdle;
use \TerryGilliam as TerryJones;
use \MichaelPalin;
Pharborist\Node implements Pharborist\NodeInterface
Extended by Pharborist\ParentNode implements Pharborist\ParentNodeInterface
Extended by Pharborist\StatementBlockNode
Extended by Pharborist\Namespaces\UseDeclarationBlockNode
Namespace: Pharborist\Namespaces
Located at Namespaces/UseDeclarationBlockNode.php
Methods summary
public Pharborist\Namespaces\UseDeclarationStatementNode[]
# getDeclarationStatements( )

Returns

Pharborist\Namespaces\UseDeclarationStatementNode[]
Methods inherited from Pharborist\StatementBlockNode
getClassAliases(), getStatements(), getUseDeclarations()
Methods inherited from Pharborist\ParentNode
__clone(), __toString(), acceptVisitor(), addChild(), addChildren(), append(), childCount(), children(), clear(), find(), firstChild(), firstToken(), getSourcePosition(), getText(), getTree(), has(), isDescendant(), isEmpty(), lastChild(), lastToken(), mergeNode(), prepend(), walk()
Methods inherited from Pharborist\Node
after(), appendTo(), before(), closest(), fromValue(), furthest(), getLogicalBlock(), getRoot(), getStatement(), hasRoot(), index(), insertAfter(), insertBefore(), is(), isAllOf(), isAnyOf(), next(), nextAll(), nextToken(), nextUntil(), parent(), parents(), parentsUntil(), prependTo(), previous(), previousAll(), previousToken(), previousUntil(), remove(), replaceAll(), replaceWith(), siblings(), sortKey(), swapWith()
Pharborist API documentation generated by ApiGen