Skip to content

struct Crystal::Token::MacroState
inherits Struct

Class methods

.default

View source

.new(whitespace : Bool, nest : Int32, control_nest : Int32, delimiter_state : DelimiterState?, beginning_of_line : Bool, yields : Bool, comment : Bool, heredocs : Array(DelimiterState)?)

View source

Methods

#beginning_of_line : Bool

#clone

View source

#comment : Bool

#control_nest : Int32

#control_nest=(control_nest)

View 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)

View source

#delimiter_state : DelimiterState?

#heredocs : Array(DelimiterState)?

#nest : Int32

#whitespace : Bool

#whitespace=(whitespace)

View source

#yields : Bool