Class: Gammo::Parser::AfterAfterFrameset
Overview
Instance Attribute Summary
#parser
Instance Method Summary
collapse
#initialize, #process
Instance Method Details
5
6
7
|
# File 'lib/gammo/parser/insertion_mode/after_after_frameset.rb', line 5
def (token)
parser.document.append_child Node::Comment.new(data: token.data)
end
|
#default(_) ⇒ Object
26
27
28
29
|
# File 'lib/gammo/parser/insertion_mode/after_after_frameset.rb', line 26
def default(_)
halt true
end
|
#doctype_token(token) ⇒ Object
22
23
24
|
# File 'lib/gammo/parser/insertion_mode/after_after_frameset.rb', line 22
def doctype_token(token)
halt InBody.new(parser).process
end
|
#start_tag_token(token) ⇒ Object
#text_token(token) ⇒ Object
9
10
11
|
# File 'lib/gammo/parser/insertion_mode/after_after_frameset.rb', line 9
def text_token(token)
halt InBody.new(parser).process unless token.data.gsub(/[^\s]/, '').empty?
end
|