Class: TreeSitterLanguagePack::FileMetrics
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::FileMetrics
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#blank_lines ⇒ Integer?
Returns the value of attribute blank_lines.
-
#code_lines ⇒ Integer?
Returns the value of attribute code_lines.
-
#comment_lines ⇒ Integer?
Returns the value of attribute comment_lines.
-
#error_count ⇒ Integer?
Returns the value of attribute error_count.
-
#max_depth ⇒ Integer?
Returns the value of attribute max_depth.
-
#node_count ⇒ Integer?
Returns the value of attribute node_count.
-
#total_bytes ⇒ Integer?
Returns the value of attribute total_bytes.
-
#total_lines ⇒ Integer?
Returns the value of attribute total_lines.
Instance Method Summary collapse
-
#initialize ⇒ FileMetrics
constructor
A new instance of FileMetrics.
Constructor Details
#initialize ⇒ FileMetrics
Returns a new instance of FileMetrics.
68 |
# File 'sig/types.rbs', line 68
def initialize: (?total_lines: Integer, ?code_lines: Integer, ?comment_lines: Integer, ?blank_lines: Integer, ?total_bytes: Integer, ?node_count: Integer, ?error_count: Integer, ?max_depth: Integer) -> void
|
Instance Attribute Details
#blank_lines ⇒ Integer?
Returns the value of attribute blank_lines.
62 63 64 |
# File 'sig/types.rbs', line 62 def blank_lines @blank_lines end |
#code_lines ⇒ Integer?
Returns the value of attribute code_lines.
60 61 62 |
# File 'sig/types.rbs', line 60 def code_lines @code_lines end |
#comment_lines ⇒ Integer?
Returns the value of attribute comment_lines.
61 62 63 |
# File 'sig/types.rbs', line 61 def comment_lines @comment_lines end |
#error_count ⇒ Integer?
Returns the value of attribute error_count.
65 66 67 |
# File 'sig/types.rbs', line 65 def error_count @error_count end |
#max_depth ⇒ Integer?
Returns the value of attribute max_depth.
66 67 68 |
# File 'sig/types.rbs', line 66 def max_depth @max_depth end |
#node_count ⇒ Integer?
Returns the value of attribute node_count.
64 65 66 |
# File 'sig/types.rbs', line 64 def node_count @node_count end |
#total_bytes ⇒ Integer?
Returns the value of attribute total_bytes.
63 64 65 |
# File 'sig/types.rbs', line 63 def total_bytes @total_bytes end |
#total_lines ⇒ Integer?
Returns the value of attribute total_lines.
59 60 61 |
# File 'sig/types.rbs', line 59 def total_lines @total_lines end |