Overview

Namespaces

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

Classes

  • CompoundVariableNode
  • GlobalStatementNode
  • ReferenceVariableNode
  • StaticVariableNode
  • StaticVariableStatementNode
  • VariableNode
  • VariableVariableNode

Interfaces

  • VariableExpressionNode
  • Overview
  • Namespace
  • Class

Class StaticVariableStatementNode

A static variable statement.

For example, static $a, $b = A_SCALAR;

Pharborist\Node implements Pharborist\NodeInterface
Extended by Pharborist\ParentNode implements Pharborist\ParentNodeInterface
Extended by Pharborist\StatementNode
Extended by Pharborist\Variables\StaticVariableStatementNode uses Pharborist\DocCommentTrait
Namespace: Pharborist\Variables
Located at Variables/StaticVariableStatementNode.php
Methods summary
public Pharborist\CommaListNode
# getVariableList( )

Returns

Pharborist\CommaListNode
public Pharborist\NodeCollection|Pharborist\Variables\StaticVariableNode[]
# getVariables( )

Returns

Pharborist\NodeCollection|Pharborist\Variables\StaticVariableNode[]
Methods inherited from Pharborist\StatementNode
addCommentAbove(), getLineCount(), toComment()
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()
Methods used from Pharborist\DocCommentTrait
getDocComment(), getIndent(), setDocComment()
Pharborist API documentation generated by ApiGen