struct Analyzer::Ruby::Rails::RouteLine

Overview

One logical routing directive: the joined text of a (possibly multi-line) statement plus the 1-based line its first token sits on.

Defined in:

analyzer/analyzers/ruby/rails.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(text : String, line : Int32) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(text _text = @text, line _line = @line) #

[View source]
def line : Int32 #

def text : String #

def with_text(new_text : String) : RouteLine #

[View source]