Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Mint::Ast::HtmlElement
Inherits
Mint::Ast::Node
<
Reference
<
Object
Constructors
new
(closing_tag_position :
Parser::Location
|
Nil
, attributes :
Array
(
HtmlAttribute
), comments :
Array
(
Comment
), styles :
Array
(
HtmlStyle
), from :
Parser::Location
, children :
Array
(
Node
), to :
Parser::Location
, file :
Parser::File
, ref :
Variable
|
Nil
, tag :
Variable
)
Source
Instance methods
ancestor
Source
ancestor=
(ancestor :
Ast::Node
|
Nil
)
Source
attributes
Source
children
Source
closing_tag_position
Source
comments
Source
ref
Source
styles
Source
tag
Source