Overview

Namespaces

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

Classes

  • AddAssignNode
  • AddNode
  • ArrayCastNode
  • AssignNode
  • AssignReferenceNode
  • BinaryOperationNode
  • BitwiseAndAssignNode
  • BitwiseAndNode
  • BitwiseNotNode
  • BitwiseOrAssignNode
  • BitwiseOrNode
  • BitwiseShiftLeftAssignNode
  • BitwiseShiftLeftNode
  • BitwiseShiftRightAssignNode
  • BitwiseShiftRightNode
  • BitwiseXorAssignNode
  • BitwiseXorNode
  • BooleanAndNode
  • BooleanCastNode
  • BooleanNotNode
  • BooleanOrNode
  • CastNode
  • CloneNode
  • ConcatAssignNode
  • ConcatNode
  • DivideAssignNode
  • DivideNode
  • ElvisNode
  • EqualNode
  • FloatCastNode
  • GreaterThanNode
  • GreaterThanOrEqualToNode
  • IdenticalNode
  • InstanceOfNode
  • IntegerCastNode
  • LessThanNode
  • LessThanOrEqualToNode
  • LogicalAndNode
  • LogicalOrNode
  • LogicalXorNode
  • ModulusAssignNode
  • ModulusNode
  • MultiplyAssignNode
  • MultiplyNode
  • NegateNode
  • NotEqualNode
  • NotIdenticalNode
  • ObjectCastNode
  • PlusNode
  • PostDecrementNode
  • PostIncrementNode
  • PowerAssignNode
  • PowerNode
  • PreDecrementNode
  • PreIncrementNode
  • PrintNode
  • StringCastNode
  • SubtractAssignNode
  • SubtractNode
  • SuppressWarningNode
  • TernaryOperationNode
  • UnaryOperationNode
  • UnsetCastNode
  • Overview
  • Namespace
  • Class

Class BooleanNotNode

A boolean '!' operation.

Pharborist\Node implements Pharborist\NodeInterface
Extended by Pharborist\ParentNode implements Pharborist\ParentNodeInterface
Extended by Pharborist\Operators\UnaryOperationNode implements Pharborist\ExpressionNode
Extended by Pharborist\Operators\BooleanNotNode
Namespace: Pharborist\Operators
Located at Operators/BooleanNotNode.php
Methods summary
public static static
# fromExpression( Pharborist\ExpressionNode $expr )

Creates a negated version of any expression. For instance, passing a VariableNode will result in !$var.

Creates a negated version of any expression. For instance, passing a VariableNode will result in !$var.

Parameters

$expr
The expression to negate.

Returns

static
Methods inherited from Pharborist\Operators\UnaryOperationNode
getOperand(), getOperator(), setOperand()
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