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 : Int64?
- #comments : Array(Mint::Ast::Comment)
- #in_component=(in_component : Bool)
- #in_component? : Bool
- #ref : Mint::Ast::Variable?
- #styles : Array(Mint::Ast::HtmlStyle)
- #tag : Mint::Ast::Variable
Instance methods inherited from class Mint::Ast::Node
file : Parser::File
file,
from : Int64
from,
from=(from : Int64)
from=,
location : Location
location,
new_line?
new_line?,
parent : Node | Nil
parent,
parent=(parent : Node | Nil)
parent=,
source
source,
to : Int64
to,
to_tuple
to_tuple
Constructor methods inherited from class Mint::Ast::Node
new(file : Mint::Parser::File, from : Int64, to : Int64)
new
Class methods inherited from class Mint::Ast::Node
compute_location(file : Parser::File, from, to)
compute_location,
compute_position(lines, needle) : Position
compute_position
Constructor Detail
def self.new(attributes : Array(HtmlAttribute), closing_tag_position : Int64 | Nil, comments : Array(Comment), styles : Array(HtmlStyle), children : Array(Node), file : Parser::File, ref : Variable | Nil, tag : Variable, from : Int64, to : Int64)
#