Class: Glimmer::DSL::XML::HtmlExpression

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

Overview

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

Constant Summary

Constants included from Glimmer

REGEX_METHODS_EXCLUDED

Instance Method Summary collapse

Methods included from NodeParentExpression

#add_content

Methods included from Glimmer

included, #method_missing

Methods included from ParentExpression

#add_content

Methods inherited from StaticExpression

#can_interpret?, inherited, keyword

Methods inherited from Expression

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

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Glimmer

Instance Method Details

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



15
16
17
# File 'lib/glimmer/dsl/xml/html_expression.rb', line 15

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

#xml_expressionObject



19
20
21
# File 'lib/glimmer/dsl/xml/html_expression.rb', line 19

def xml_expression
  @xml_expression ||= XmlExpression.new
end