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 ⇒ 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.
1304 |
# File 'sig/types.rbs', line 1304
def initialize: (kind: 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.
1299 1300 1301 |
# File 'sig/types.rbs', line 1299 def attributes @attributes end |
#byte_end ⇒ Integer (readonly)
Returns the value of attribute byte_end.
1302 1303 1304 |
# File 'sig/types.rbs', line 1302 def byte_end @byte_end end |
#byte_start ⇒ Integer (readonly)
Returns the value of attribute byte_start.
1301 1302 1303 |
# File 'sig/types.rbs', line 1301 def byte_start @byte_start end |
#children ⇒ Array[CodeDataNode] (readonly)
Returns the value of attribute children.
1300 1301 1302 |
# File 'sig/types.rbs', line 1300 def children @children end |
#key ⇒ String (readonly)
Returns the value of attribute key.
1297 1298 1299 |
# File 'sig/types.rbs', line 1297 def key @key end |
#kind ⇒ CodeDataNodeKind (readonly)
Returns the value of attribute kind.
1296 1297 1298 |
# File 'sig/types.rbs', line 1296 def kind @kind end |
#value ⇒ String (readonly)
Returns the value of attribute value.
1298 1299 1300 |
# File 'sig/types.rbs', line 1298 def value @value end |