Overview

Namespaces

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

Classes

  • ArrayNode
  • ArrayPairNode
  • BooleanNode
  • FalseNode
  • FloatNode
  • HeredocNode
  • IntegerNode
  • InterpolatedStringNode
  • NullNode
  • StringNode
  • StringVariableNode
  • TrueNode

Interfaces

  • ArrayElementNode
  • ScalarNode
  • Overview
  • Namespace
  • Class

Interface ScalarNode

A single, static value that is not composed of other values (like an array). The following are all valid ScalarNodes:

  • Non-interpolated strings: 'Herro', "Why the long face?"
  • Integers: 0, 30, -1
  • Floats: 3.141, 8.75
  • Booleans: TRUE, FALSE
  • Null
Pharborist\Types\ScalarNode implements Pharborist\NodeInterface

Direct known implementers

Pharborist\Types\BooleanNode, Pharborist\Types\FloatNode, Pharborist\Types\IntegerNode, Pharborist\Types\NullNode, Pharborist\Types\StringNode

Indirect known implementers

Pharborist\Types\FalseNode, Pharborist\Types\TrueNode
Namespace: Pharborist\Types
Located at Types/ScalarNode.php
Methods summary
public mixed
# toValue( )

Returns

mixed
Methods inherited from Pharborist\NodeInterface
after(), appendTo(), before(), closest(), furthest(), getRoot(), getSourcePosition(), getText(), hasRoot(), index(), insertAfter(), insertBefore(), next(), nextAll(), nextUntil(), parent(), parents(), parentsUntil(), prependTo(), previous(), previousAll(), previousUntil(), remove(), replaceAll(), replaceWith(), siblings(), swapWith()
Pharborist API documentation generated by ApiGen