class Ameba::Source
- Ameba::Source
- Reference
- Object
Overview
An entity that represents a Crystal source file. Has path, lines of code and errors reported by rules.
Defined in:
ameba/source.crConstructors
Instance Method Summary
- #ast
- #content : String
- #error(rule : Rule, line_number : Int32 | Nil, message : String)
- #errors : Array(Ameba::Source::Error)
- #lines
- #path : String | Nil
- #valid?