class Bade::AST::StaticTextNode

Attributes

escaped[RW]

@return [Bool]

value[RW]

@return [String]

Public Class Methods

new(*args) click to toggle source
Calls superclass method Bade::AST::Node::new
# File lib/bade/ast/node/static_text_node.rb, line 16
               def initialize(*args)
  super(*args)

  @escaped = false
end

Public Instance Methods

==(other) click to toggle source

@param [ValueNode] other

Calls superclass method Bade::AST::Node#==
# File lib/bade/ast/node/static_text_node.rb, line 24
def ==(other)
  super && value == other.value && escaped == other.escaped
end