Open Sidebar
Close Sidebar
can
0.4.1
Can
AST
Attribute
Comment
Def
Doctype
Element
ElseIfMark
ElseMark
ExprAttr
For
If
Interpolation
Let
Node
Param
Raw
Require
Slot
SlotFill
StringAttr
Template
Text
Use
CLI
Render
Codegen
CssScoper
ParseError
Parser
SafeString
class
Can::
AST::
StringAttr
Can::AST::StringAttr
Can::AST::Attribute
Can::AST::Node
Reference
Object
Overview
title="hello"
Defined in:
can/ast.cr
Constructors
.new
(name : String, value : String, line =
0
, column =
0
)
Instance Method Summary
#value
: String
#value=
(value : String)
Instance methods inherited from class
Can::AST::Attribute
name : String
name
,
name=(name : String)
name=
Constructor methods inherited from class
Can::AST::Attribute
new(name : String, line =
0
, column =
0
)
new
Instance methods inherited from class
Can::AST::Node
column : Int32
column
,
column=(column : Int32)
column=
,
line : Int32
line
,
line=(line : Int32)
line=
Constructor methods inherited from class
Can::AST::Node
new(line : Int32 =
0
, column : Int32 =
0
)
new
Constructor Detail
def self.
new
(name : String, value : String, line =
0
, column =
0
)
#
[
View source
]
Instance Method Detail
def
value
: String
#
[
View source
]
def
value=
(value : String)
#
[
View source
]