class Mint::Ast::HtmlElement
- Mint::Ast::HtmlElement
- Mint::Ast::Node
- Reference
- Object
Defined in:
ast/html_element.crConstructors
Instance Method Summary
- #attributes : Array(Mint::Ast::HtmlAttribute)
- #children : Array(Mint::Ast::Node)
- #closing_tag_position : Int32?
- #comments : Array(Mint::Ast::Comment)
- #ref : Mint::Ast::Variable?
- #static?
- #static_value
- #styles : Array(Mint::Ast::HtmlStyle)
- #tag : Mint::Ast::Variable
Instance methods inherited from class Mint::Ast::Node
from : Int32
from,
from=(from : Int32)
from=,
input : Data
input,
location : Location
location,
new_line?
new_line?,
owns?(node)
owns?,
source
source,
static?
static?,
static_value
static_value,
to : Int32
to,
to_tuple
to_tuple
Constructor methods inherited from class Mint::Ast::Node
new(input : Mint::Ast::Data, from : Int32, to : Int32)
new
Class methods inherited from class Mint::Ast::Node
compute_location(input : Data, from, to)
compute_location,
compute_position(lines, needle) : Position
compute_position
Constructor Detail
def self.new(attributes : Array(HtmlAttribute), closing_tag_position : Int32 | Nil, comments : Array(Comment), styles : Array(HtmlStyle), children : Array(Node), ref : Variable | Nil, tag : Variable, input : Data, from : Int32, to : Int32)
#