# railgun.parsers

The parsers module simply contains a handful of utility functions for parsing interesting information
out of HTML, CSS, and Javascript sources.  It uses cheerio to parse HTML, esprima to parse Javascript,
and css to parse CSS. You are absolutely encouraged to look into each one if you'd like to write your
own utilities that involve parsing.

## railgun.parsers.html functions

### railgun.parsers.html.comments

Parses comments out of an HTML document, returning an array of the contents of comments found.
The only argument accepted is a string containing the source code of an HTML document.

### railgun.parsers.html.hiddenInputs

Parses cheerio objects corresponding to hidden input fields from an HTML document.
The only argument accepted is a string containing the source code of an HTML document.

## railgun.parsers.js functions

### railgun.parsers.html.comments

Parses comments out of a Javascript document, returning an array of the contents of comments found.
The only argument accepted is a string containing the source code of a Javascript document.

## railgun.parsers.css functions

### railgun.parsers.html.comments

Parses comments out of a CSS document, returning an array of the contents of comments found.
The only argument accepted is a string containing the source code of a CSS document.
