Class: Xberg::CodeDataNode

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCodeDataNode

Returns a new instance of CodeDataNode.

Parameters:



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

#attributesArray[CodeDataAttribute] (readonly)

Returns the value of attribute attributes.

Returns:



1299
1300
1301
# File 'sig/types.rbs', line 1299

def attributes
  @attributes
end

#byte_endInteger (readonly)

Returns the value of attribute byte_end.

Returns:

  • (Integer)


1302
1303
1304
# File 'sig/types.rbs', line 1302

def byte_end
  @byte_end
end

#byte_startInteger (readonly)

Returns the value of attribute byte_start.

Returns:

  • (Integer)


1301
1302
1303
# File 'sig/types.rbs', line 1301

def byte_start
  @byte_start
end

#childrenArray[CodeDataNode] (readonly)

Returns the value of attribute children.

Returns:



1300
1301
1302
# File 'sig/types.rbs', line 1300

def children
  @children
end

#keyString (readonly)

Returns the value of attribute key.

Returns:

  • (String)


1297
1298
1299
# File 'sig/types.rbs', line 1297

def key
  @key
end

#kindCodeDataNodeKind (readonly)

Returns the value of attribute kind.

Returns:



1296
1297
1298
# File 'sig/types.rbs', line 1296

def kind
  @kind
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


1298
1299
1300
# File 'sig/types.rbs', line 1298

def value
  @value
end