class Ast::FunctionLiteral
Included Modules
Defined in:
ast.crConstructors
Instance Method Summary
- #body? : Ast::BlockStatement?
- #name : String
- #name=(name : String)
- #parameters? : Array(Ast::Identifier)?
- #to_s(io)
Instance methods inherited from module Ast::TokenHolder
token
token,
token_literal : String
token_literal
Instance methods inherited from class Ast::Expression
<=>(other : Expression)
<=>
Instance methods inherited from class Ast::Node
to_s(io)
to_s,
token_literal : String
token_literal
Instance methods inherited from class Object
also(& : self | Nil -> _) : self
also,
or_else(alternative)
or_else
Constructor Detail
def self.new(token : Token, parameters : Array(Identifier) | Nil, body : BlockStatement | Nil, name : String = "")
#