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::
Require
Can::AST::Require
Can::AST::Node
Reference
Object
Overview
Crystal require directive:
<.require from="..."/>
.
Defined in:
can/ast.cr
Constructors
.new
(from : String, line =
0
, column =
0
)
Instance Method Summary
#from
: String
#from=
(from : String)
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
(from : String, line =
0
, column =
0
)
#
[
View source
]
Instance Method Detail
def
from
: String
#
[
View source
]
def
from=
(from : String)
#
[
View source
]