class CrinjaLint::Source

Defined in:

crinja_lint/source.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(env : Crinja, path : String, code : String) #

[View source]

Instance Method Detail

def add_issue(location_start, location_end, message, rule : Rule::Base) #

[View source]
def ast : Crinja::AST::NodeList #

[View source]
def code : String #

[View source]
def env : Crinja #

[View source]
def issues : Array(Issue) #

[View source]
def path : String #

[View source]
def template : Crinja::Template #

[View source]
def valid? #

[View source]