Class: Xberg::CodeChunkInfo
- Inherits:
-
Object
- Object
- Xberg::CodeChunkInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#byte_end ⇒ Integer
readonly
Returns the value of attribute byte_end.
-
#byte_start ⇒ Integer
readonly
Returns the value of attribute byte_start.
-
#context_path ⇒ Array[String]
readonly
Returns the value of attribute context_path.
-
#node_types ⇒ Array[String]
readonly
Returns the value of attribute node_types.
-
#text ⇒ String
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ CodeChunkInfo
constructor
A new instance of CodeChunkInfo.
Constructor Details
#initialize ⇒ CodeChunkInfo
Returns a new instance of CodeChunkInfo.
1318 |
# File 'sig/types.rbs', line 1318
def initialize: (text: String, context_path: Array[String], node_types: Array[String], byte_start: Integer, byte_end: Integer) -> void
|
Instance Attribute Details
#byte_end ⇒ Integer (readonly)
Returns the value of attribute byte_end.
1316 1317 1318 |
# File 'sig/types.rbs', line 1316 def byte_end @byte_end end |
#byte_start ⇒ Integer (readonly)
Returns the value of attribute byte_start.
1315 1316 1317 |
# File 'sig/types.rbs', line 1315 def byte_start @byte_start end |
#context_path ⇒ Array[String] (readonly)
Returns the value of attribute context_path.
1313 1314 1315 |
# File 'sig/types.rbs', line 1313 def context_path @context_path end |
#node_types ⇒ Array[String] (readonly)
Returns the value of attribute node_types.
1314 1315 1316 |
# File 'sig/types.rbs', line 1314 def node_types @node_types end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1312 1313 1314 |
# File 'sig/types.rbs', line 1312 def text @text end |