struct Crystal::Token::MacroState
inherits Struct
¶
Class methods¶
.new(whitespace : Bool, nest : Int32, control_nest : Int32, delimiter_state : DelimiterState?, beginning_of_line : Bool, yields : Bool, comment : Bool, heredocs : Array(DelimiterState)?)
¶
(whitespace : Bool, nest : Int32, control_nest : Int32, delimiter_state : DelimiterState?, beginning_of_line : Bool, yields : Bool, comment : Bool, heredocs : Array(DelimiterState)?)
Methods¶
#copy_with(whitespace _whitespace = @whitespace, nest _nest = @nest, control_nest _control_nest = @control_nest, delimiter_state _delimiter_state = @delimiter_state, beginning_of_line _beginning_of_line = @beginning_of_line, yields _yields = @yields, comment _comment = @comment, heredocs _heredocs = @heredocs)
¶
(whitespace _whitespace = @whitespace, nest _nest = @nest, control_nest _control_nest = @control_nest, delimiter_state _delimiter_state = @delimiter_state, beginning_of_line _beginning_of_line = @beginning_of_line, yields _yields = @yields, comment _comment = @comment, heredocs _heredocs = @heredocs)
#delimiter_state : DelimiterState?
¶
: DelimiterState?
#heredocs : Array(DelimiterState)?
¶
: Array(DelimiterState)?