struct

Syntax::Token::MacroState

Inherits Struct < Value < Object

Constructors

new(whitespace : Bool, nest : Int32, control_nest : Int32, delimiter_state : DelimiterState | Nil, beginning_of_line : Bool, yields : Bool, comment : Bool, heredocs : Array(DelimiterState) | Nil)
Source

Class methods

default
Source

Instance methods

beginning_of_line
clone
Source
comment
control_nest
control_nest=(control_nest : Int32)
Source
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)
Source
delimiter_state
heredocs
nest
whitespace
whitespace=(whitespace : Bool)
Source
yields