Class: Hotdog::Expression::RegexpExpressionNode
- Inherits:
-
TagExpressionNode
- Object
- ExpressionNode
- TagExpressionNode
- Hotdog::Expression::RegexpExpressionNode
- Defined in:
- lib/hotdog/expression/semantics.rb
Direct Known Subclasses
RegexpHostNode, RegexpNode, RegexpTagNameNode, RegexpTagNode, RegexpTagValueNode
Instance Attribute Summary
Attributes inherited from TagExpressionNode
#separator, #tag_name, #tag_value
Instance Method Summary collapse
Methods inherited from TagExpressionNode
#==, #condition, #condition_tables, #condition_values, #evaluate, #initialize, #maybe_fallback, #maybe_glob, #maybe_query, #maybe_query_without_condition, #optimize, #reload, #separator?, #tag_name?, #tag_value?, #to_glob
Methods inherited from ExpressionNode
Constructor Details
This class inherits a constructor from Hotdog::Expression::TagExpressionNode
Instance Method Details
#dump(options = {}) ⇒ Object
1013 1014 1015 1016 1017 1018 1019 1020 |
# File 'lib/hotdog/expression/semantics.rb', line 1013 def dump(={}) data = {} data[:tag_name_regexp] = tag_name.to_s if tag_name data[:separator] = separator.to_s if separator data[:tag_value_regexp] = tag_value.to_s if tag_value data[:fallback] = @fallback.dump() if @fallback data end |