class Bade::AST::ValueNode

Attributes

conditional[RW]

@return [Bool]

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/value_node.rb, line 20
               def initialize(*args)
  super(*args)

  @escaped = false
  @conditional = false
end

Public Instance Methods

==(other) click to toggle source

@param [ValueNode] other

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