Skip to content

class Crystal::MacroExpression
inherits Crystal::ASTNode

A macro expression, surrounded by {{ ... }} (output = true) or by {% ... %} (output = false)

Included modules

Crystal::ExpandableNode

Class methods

.new(exp : ASTNode, output = true)

View source

Methods

#==(other : self)

Returns true if this reference is the same as other. Invokes same?.

#accept_children(visitor)

View source

#clone_without_location

View source

#exp=(exp : ASTNode)

View source

#hash(hasher)

#output=(output : Bool)

View source

#output? : Bool

View source