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

Class FloatNode

A float scalar, like 29.8 or 3.141.

Pharborist\Node implements Pharborist\NodeInterface
Extended by Pharborist\TokenNode
Extended by Pharborist\Types\FloatNode implements Pharborist\ExpressionNode, Pharborist\Types\ScalarNode
Namespace: Pharborist\Types
Located at Types/FloatNode.php
Methods summary
public float
# toValue( )

Returns

float

Implementation of

Pharborist\Types\ScalarNode::toValue()
Methods inherited from Pharborist\TokenNode
__construct(), __toString(), getSourcePosition(), getText(), getType(), getTypeName(), setText(), typeName()
Methods inherited from Pharborist\Node
__clone(), 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