Class: Brandish::Parser::Node::String

Inherits:
Text show all
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.

Returns:

  • (::Set<::Symbol>)
(Node::Text::TOKENS - ::Set[:'"']) + ::Set[:<, :>]

Instance Attribute Summary

Attributes inherited from Text

#value

Attributes inherited from Brandish::Parser::Node

#location

Method Summary

Methods inherited from Text

#==, #initialize, #inspect

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