Class: Bade::AST::ValueNode
- Inherits:
-
Node
- Object
- Node
- Bade::AST::ValueNode
show all
- Defined in:
- lib/bade/ast/node/value_node.rb
Instance Attribute Summary collapse
Attributes inherited from Node
#children, #lineno, #type
Instance Method Summary
collapse
Methods inherited from Node
#initialize, #inspect, #to_s
Instance Attribute Details
#conditional ⇒ Bool
18
19
20
|
# File 'lib/bade/ast/node/value_node.rb', line 18
def conditional
@conditional
end
|
#escaped ⇒ Bool
14
15
16
|
# File 'lib/bade/ast/node/value_node.rb', line 14
def escaped
@escaped
end
|
10
11
12
|
# File 'lib/bade/ast/node/value_node.rb', line 10
def value
@value
end
|
Instance Method Details
#==(other) ⇒ Object
29
30
31
|
# File 'lib/bade/ast/node/value_node.rb', line 29
def ==(other)
super && value == other.value && escaped == other.escaped && conditional == other.conditional
end
|