# Psych::ScalarScanner - ri - phpman

= [**Psych::ScalarScanner](https://www.chedong.com/phpMan.php/perldoc/Psych%3A%3AScalarScanner/markdown) < Object**

(from gem psych-5.4.0)
------------------------------------------------------------------------
## Scan scalars for built in types
------------------------------------------------------------------------
= **Constants:**

FLOAT:
  Taken from <http://yaml.org/type/float.html> Base 60, [-+]inf and NaN
  are handled separately

INTEGER_LEGACY:
### Same as above, but allows commas. Not to YML spec, but kept for
  backwards compatibility

INTEGER_STRICT:
  Taken from <http://yaml.org/type/int.html> and modified to ensure at
  least one numerical symbol exists

TIME:
  Taken from <http://yaml.org/type/timestamp.html>


= **Class methods:**

  new

= **Instance methods:**

  class_loader
  parse_int
  parse_time
  tokenize

= **Attributes:**

  attr_reader class_loader

