Class: Xberg::CodeDataNode
- Inherits:
-
Object
- Object
- Xberg::CodeDataNode
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#attributes ⇒ Array[CodeDataAttribute]
readonly
Returns the value of attribute attributes.
-
#byte_end ⇒ Integer
readonly
Returns the value of attribute byte_end.
-
#byte_start ⇒ Integer
readonly
Returns the value of attribute byte_start.
-
#children ⇒ Array[CodeDataNode]
readonly
Returns the value of attribute children.
-
#key ⇒ String?
readonly
Returns the value of attribute key.
-
#kind ⇒ enum_CodeDataNodeKind
readonly
Returns the value of attribute kind.
-
#value ⇒ String?
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ CodeDataNode
constructor
A new instance of CodeDataNode.
Constructor Details
#initialize ⇒ CodeDataNode
Returns a new instance of CodeDataNode.
270 |
# File 'sig/types.rbs', line 270 def initialize: (kind: enum_CodeDataNodeKind, ?key: String, ?value: String, attributes: Array[CodeDataAttribute], children: Array[CodeDataNode], byte_start: Integer, byte_end: Integer) -> void |
Instance Attribute Details
#attributes ⇒ Array[CodeDataAttribute] (readonly)
Returns the value of attribute attributes.
265 266 267 |
# File 'sig/types.rbs', line 265 def attributes @attributes end |
#byte_end ⇒ Integer (readonly)
Returns the value of attribute byte_end.
268 269 270 |
# File 'sig/types.rbs', line 268 def byte_end @byte_end end |
#byte_start ⇒ Integer (readonly)
Returns the value of attribute byte_start.
267 268 269 |
# File 'sig/types.rbs', line 267 def byte_start @byte_start end |
#children ⇒ Array[CodeDataNode] (readonly)
Returns the value of attribute children.
266 267 268 |
# File 'sig/types.rbs', line 266 def children @children end |
#key ⇒ String? (readonly)
Returns the value of attribute key.
263 264 265 |
# File 'sig/types.rbs', line 263 def key @key end |
#kind ⇒ enum_CodeDataNodeKind (readonly)
Returns the value of attribute kind.
262 263 264 |
# File 'sig/types.rbs', line 262 def kind @kind end |
#value ⇒ String? (readonly)
Returns the value of attribute value.
264 265 266 |
# File 'sig/types.rbs', line 264 def value @value end |