Class: Deadfire::FrontEnd::AtRuleNode
- Defined in:
- lib/deadfire/front_end/at_rule_node.rb
Instance Attribute Summary collapse
-
#at_keyword ⇒ Object
readonly
Returns the value of attribute at_keyword.
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
-
#initialize(at_keyword, value, block) ⇒ AtRuleNode
constructor
A new instance of AtRuleNode.
Constructor Details
#initialize(at_keyword, value, block) ⇒ AtRuleNode
Returns a new instance of AtRuleNode.
8 9 10 11 12 |
# File 'lib/deadfire/front_end/at_rule_node.rb', line 8 def initialize(at_keyword, value, block) @at_keyword = at_keyword @value = value @block = block end |
Instance Attribute Details
#at_keyword ⇒ Object (readonly)
Returns the value of attribute at_keyword.
6 7 8 |
# File 'lib/deadfire/front_end/at_rule_node.rb', line 6 def at_keyword @at_keyword end |
#block ⇒ Object (readonly)
Returns the value of attribute block.
6 7 8 |
# File 'lib/deadfire/front_end/at_rule_node.rb', line 6 def block @block end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
6 7 8 |
# File 'lib/deadfire/front_end/at_rule_node.rb', line 6 def value @value end |
Instance Method Details
#accept(visitor) ⇒ Object
14 15 16 |
# File 'lib/deadfire/front_end/at_rule_node.rb', line 14 def accept(visitor) visitor.visit_at_rule_node(self) end |