Module: ComponentEmbeddedRuby::Parser

Defined in:
lib/component_embedded_ruby/parser.rb,
lib/component_embedded_ruby/parser/base.rb,
lib/component_embedded_ruby/parser/tag_parser.rb,
lib/component_embedded_ruby/parser/root_parser.rb,
lib/component_embedded_ruby/parser/token_reader.rb,
lib/component_embedded_ruby/parser/attribute_parser.rb

Defined Under Namespace

Classes: AttributeParser, Base, RootParser, TagParser, TokenReader

Class Method Summary collapse

Class Method Details

.parse(tokens) ⇒ Object



11
12
13
14
15
# File 'lib/component_embedded_ruby/parser.rb', line 11

def self.parse(tokens)
  @token_reader = TokenReader.new(tokens)

  RootParser.new(@token_reader).call
end