# Psych::Nodes::Scalar - ri - phpman

= [**Psych::Nodes::Scalar](https://www.chedong.com/phpMan.php/perldoc/Psych%3A%3ANodes%3A%3AScalar/markdown) < [Psych::Nodes::Node**](https://www.chedong.com/phpMan.php/perldoc/Psych%3A%3ANodes%3A%3ANode/markdown)

(from gem psych-5.4.0)
------------------------------------------------------------------------
This class represents a YAML Scalar( <http://yaml.org/spec/1.1/#id858081>
).

This node type is a terminal node and should not have any children.
------------------------------------------------------------------------
= **Constants:**

ANY:
### Any style scalar, the emitter chooses

DOUBLE_QUOTED:
### Double quoted style

FOLDED:
### Folded style

LITERAL:
### Literal style

PLAIN:
### Plain scalar style

SINGLE_QUOTED:
### Single quoted style


= **Class methods:**

  new

= **Instance methods:**

  anchor
  plain
  quoted
  scalar?
  style
  tag
  value

= **Attributes:**

  attr_accessor anchor
  attr_accessor plain
  attr_accessor quoted
  attr_accessor style
  attr_accessor tag
  attr_accessor value

