struct CodeWriter::LanguageSettings

Defined in:

code_writer/languages.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(block_start : String, block_end : String, comment_start : String, inline_block_start : String | Nil = nil, inline_block_end : String | Nil = nil, multiline_comment_start : String | Nil = nil, multiline_comment_middle : String | Nil = nil, multiline_comment_end : String | Nil = nil, space_before_block_start : Bool = true) #

[View source]

Instance Method Detail

def block_end : String #

def block_start : String #

def clone #

[View source]
def comment_start : String #

def copy_with(block_start _block_start = @block_start, block_end _block_end = @block_end, comment_start _comment_start = @comment_start, inline_block_start _inline_block_start = @inline_block_start, inline_block_end _inline_block_end = @inline_block_end, multiline_comment_start _multiline_comment_start = @multiline_comment_start, multiline_comment_middle _multiline_comment_middle = @multiline_comment_middle, multiline_comment_end _multiline_comment_end = @multiline_comment_end, space_before_block_start _space_before_block_start = @space_before_block_start) #

[View source]
def inline_block_end : String | Nil #

def inline_block_start : String | Nil #

def multiline_comment_end : String | Nil #

def multiline_comment_middle : String | Nil #

def multiline_comment_start : String | Nil #

def space_before_block_start : Bool #

def supports_inline_block? #

[View source]
def supports_multiline_comments? #

[View source]