Class: Brandish::Parser::Node::String
- Inherits:
-
Text
- Object
- Brandish::Parser::Node
- Text
- Brandish::Parser::Node::String
- Defined in:
- lib/brandish/parser/node/string.rb
Overview
A "string." Because of how loose the language is, this is similar to a Text node, but has no restriction on the allowed values for the node.
Constant Summary collapse
- TOKENS =
A set of tokens kinds that are allowed to be in a string node.
(Node::Text::TOKENS - ::Set[:'"']) + ::Set[:<, :>]
Instance Attribute Summary
Attributes inherited from Text
Attributes inherited from Brandish::Parser::Node
Method Summary
Methods inherited from Text
Methods inherited from Brandish::Parser::Node
#initialize, #inspect, #prevent_update, #update, #update_prevented?
Constructor Details
This class inherits a constructor from Brandish::Parser::Node::Text