class Haml::Parser
Constants
- BLOCK_KEYWORD_REGEX
- BLOCK_WITH_SPACES
Regex to check for blocks with spaces around arguments. Not to be confused with multiline script. For example:
foo.each do | bar | = bar
- COMMENT
Designates an XHTML/XML comment.
- DIV_CLASS
Designates a `<div>` element with the given class.
- DIV_ID
Designates a `<div>` element with the given id.
- DOCTYPE
Designates an XHTML doctype or script that is never HTML-escaped.
- DOCTYPE_REGEX
The Regex that matches a Doctype command.
- ELEMENT
Designates an XHTML/XML element.
- ESCAPE
Designates a non-parsed line.
- FILTER
Designates a block of filtered text.
- FLAT_SCRIPT
Designates script, the result of which is flattened and output.
- LITERAL_VALUE_REGEX
The Regex that matches a literal string or symbol value
- MID_BLOCK_KEYWORDS
- MULTILINE_CHAR_VALUE
The value of the character that designates that a line is part of a multiline string.
- PLAIN_TEXT
Designates a non-parsed line. Not actually a character.
- SANITIZE
Designates script that is always HTML-escaped.
- SCRIPT
Designates script, the result of which is output.
- SILENT_COMMENT
When following SILENT_SCRIPT, designates a comment that is not output.
- SILENT_SCRIPT
Designates script which is run but not output.
- SPECIAL_CHARACTERS
Keeps track of the ASCII values of the characters that begin a specially-interpreted line.
- START_BLOCK_KEYWORDS
- START_BLOCK_KEYWORD_REGEX
Try to parse assignments to block starters as best as possible