Class: TreeSitterLanguagePack::ProcessResult
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::ProcessResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#chunks ⇒ Array[CodeChunk]
readonly
Returns the value of attribute chunks.
-
#comments ⇒ Array[CommentInfo]
readonly
Returns the value of attribute comments.
-
#data ⇒ DataNode?
readonly
Returns the value of attribute data.
-
#diagnostics ⇒ Array[Diagnostic]
readonly
Returns the value of attribute diagnostics.
-
#docstrings ⇒ Array[DocstringInfo]
readonly
Returns the value of attribute docstrings.
-
#exports ⇒ Array[ExportInfo]
readonly
Returns the value of attribute exports.
-
#imports ⇒ Array[ImportInfo]
readonly
Returns the value of attribute imports.
-
#language ⇒ String
readonly
Returns the value of attribute language.
-
#metrics ⇒ FileMetrics
readonly
Returns the value of attribute metrics.
-
#structure ⇒ Array[StructureItem]
readonly
Returns the value of attribute structure.
-
#symbols ⇒ Array[SymbolInfo]
readonly
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.
231 |
# File 'sig/types.rbs', line 231
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] (readonly)
Returns the value of attribute chunks.
228 229 230 |
# File 'sig/types.rbs', line 228 def chunks @chunks end |
#comments ⇒ Array[CommentInfo] (readonly)
Returns the value of attribute comments.
224 225 226 |
# File 'sig/types.rbs', line 224 def comments @comments end |
#data ⇒ DataNode? (readonly)
Returns the value of attribute data.
229 230 231 |
# File 'sig/types.rbs', line 229 def data @data end |
#diagnostics ⇒ Array[Diagnostic] (readonly)
Returns the value of attribute diagnostics.
227 228 229 |
# File 'sig/types.rbs', line 227 def diagnostics @diagnostics end |
#docstrings ⇒ Array[DocstringInfo] (readonly)
Returns the value of attribute docstrings.
225 226 227 |
# File 'sig/types.rbs', line 225 def docstrings @docstrings end |
#exports ⇒ Array[ExportInfo] (readonly)
Returns the value of attribute exports.
223 224 225 |
# File 'sig/types.rbs', line 223 def exports @exports end |
#imports ⇒ Array[ImportInfo] (readonly)
Returns the value of attribute imports.
222 223 224 |
# File 'sig/types.rbs', line 222 def imports @imports end |
#language ⇒ String (readonly)
Returns the value of attribute language.
219 220 221 |
# File 'sig/types.rbs', line 219 def language @language end |
#metrics ⇒ FileMetrics (readonly)
Returns the value of attribute metrics.
220 221 222 |
# File 'sig/types.rbs', line 220 def metrics @metrics end |
#structure ⇒ Array[StructureItem] (readonly)
Returns the value of attribute structure.
221 222 223 |
# File 'sig/types.rbs', line 221 def structure @structure end |
#symbols ⇒ Array[SymbolInfo] (readonly)
Returns the value of attribute symbols.
226 227 228 |
# File 'sig/types.rbs', line 226 def symbols @symbols end |