class Can::AST::Def

Overview

<.def tag="card" param:title="String">…</.def>

Defined in:

can/ast.cr

Constructors

Instance Method Summary

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(tag : String, params : Array(Can::AST::Param) = [] of Param, body : Array(Can::AST::Node) = [] of Node, line = 0, column = 0) #

[View source]

Instance Method Detail

def body : Array(Node) #

[View source]
def body=(body : Array(Node)) #

[View source]
def params : Array(Param) #

[View source]
def params=(params : Array(Param)) #

[View source]
def tag : String #

[View source]
def tag=(tag : String) #

[View source]