Class: TreeSitterLanguagePack::ProcessResult
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::ProcessResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#chunks ⇒ Array[CodeChunk]?
Returns the value of attribute chunks.
-
#comments ⇒ Array[CommentInfo]?
Returns the value of attribute comments.
-
#data ⇒ DataNode?
Returns the value of attribute data.
-
#diagnostics ⇒ Array[Diagnostic]?
Returns the value of attribute diagnostics.
-
#docstrings ⇒ Array[DocstringInfo]?
Returns the value of attribute docstrings.
-
#exports ⇒ Array[ExportInfo]?
Returns the value of attribute exports.
-
#imports ⇒ Array[ImportInfo]?
Returns the value of attribute imports.
-
#language ⇒ String?
Returns the value of attribute language.
-
#metrics ⇒ FileMetrics?
Returns the value of attribute metrics.
-
#structure ⇒ Array[StructureItem]?
Returns the value of attribute structure.
-
#symbols ⇒ Array[SymbolInfo]?
Returns the value of attribute symbols.
Instance Method Summary collapse
-
#initialize ⇒ ProcessResult
constructor
A new instance of ProcessResult.
Constructor Details
#initialize ⇒ ProcessResult
Returns a new instance of ProcessResult.
55 |
# File 'sig/types.rbs', line 55
def initialize: (?language: String, ?metrics: FileMetrics, ?structure: Array[StructureItem], ?imports: Array[ImportInfo], ?exports: Array[ExportInfo], ?comments: Array[CommentInfo], ?docstrings: Array[DocstringInfo], ?symbols: Array[SymbolInfo], ?diagnostics: Array[Diagnostic], ?chunks: Array[CodeChunk], ?data: DataNode) -> void
|
Instance Attribute Details
#chunks ⇒ Array[CodeChunk]?
Returns the value of attribute chunks.
52 53 54 |
# File 'sig/types.rbs', line 52 def chunks @chunks end |
#comments ⇒ Array[CommentInfo]?
Returns the value of attribute comments.
48 49 50 |
# File 'sig/types.rbs', line 48 def comments @comments end |
#data ⇒ DataNode?
Returns the value of attribute data.
53 54 55 |
# File 'sig/types.rbs', line 53 def data @data end |
#diagnostics ⇒ Array[Diagnostic]?
Returns the value of attribute diagnostics.
51 52 53 |
# File 'sig/types.rbs', line 51 def diagnostics @diagnostics end |
#docstrings ⇒ Array[DocstringInfo]?
Returns the value of attribute docstrings.
49 50 51 |
# File 'sig/types.rbs', line 49 def docstrings @docstrings end |
#exports ⇒ Array[ExportInfo]?
Returns the value of attribute exports.
47 48 49 |
# File 'sig/types.rbs', line 47 def exports @exports end |
#imports ⇒ Array[ImportInfo]?
Returns the value of attribute imports.
46 47 48 |
# File 'sig/types.rbs', line 46 def imports @imports end |
#language ⇒ String?
Returns the value of attribute language.
43 44 45 |
# File 'sig/types.rbs', line 43 def language @language end |
#metrics ⇒ FileMetrics?
Returns the value of attribute metrics.
44 45 46 |
# File 'sig/types.rbs', line 44 def metrics @metrics end |
#structure ⇒ Array[StructureItem]?
Returns the value of attribute structure.
45 46 47 |
# File 'sig/types.rbs', line 45 def structure @structure end |
#symbols ⇒ Array[SymbolInfo]?
Returns the value of attribute symbols.
50 51 52 |
# File 'sig/types.rbs', line 50 def symbols @symbols end |