Class: Glimmer::DSL::XML::MetaExpression

Inherits:
StaticExpression show all
Includes:
NodeParentExpression
Defined in:
lib/glimmer/dsl/xml/meta_expression.rb

Overview

This static html expression flips the DSL switch on for XML DSL in Glimmer

Instance Method Summary collapse

Methods included from NodeParentExpression

#add_content

Methods included from ParentExpression

#add_content

Methods inherited from StaticExpression

#can_interpret?, inherited, keyword

Methods inherited from Expression

#add_content, #can_interpret?, dsl, #textual?

Instance Method Details

#interpret(parent, keyword, *args, &block) ⇒ Object



13
14
15
# File 'lib/glimmer/dsl/xml/meta_expression.rb', line 13

def interpret(parent, keyword, *args, &block)
  xml_expression.interpret(parent, keyword, *args, &block)
end

#xml_expressionObject



17
18
19
# File 'lib/glimmer/dsl/xml/meta_expression.rb', line 17

def xml_expression
  @xml_expression ||= XmlExpression.new
end