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:



1339
# File 'sig/types.rbs', line 1339

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:



1334
1335
1336
# File 'sig/types.rbs', line 1334

def attributes
  @attributes
end

#byte_endInteger (readonly)

Returns the value of attribute byte_end.

Returns:

  • (Integer)


1337
1338
1339
# File 'sig/types.rbs', line 1337

def byte_end
  @byte_end
end

#byte_startInteger (readonly)

Returns the value of attribute byte_start.

Returns:

  • (Integer)


1336
1337
1338
# File 'sig/types.rbs', line 1336

def byte_start
  @byte_start
end

#childrenArray[CodeDataNode] (readonly)

Returns the value of attribute children.

Returns:



1335
1336
1337
# File 'sig/types.rbs', line 1335

def children
  @children
end

#keyString (readonly)

Returns the value of attribute key.

Returns:

  • (String)


1332
1333
1334
# File 'sig/types.rbs', line 1332

def key
  @key
end

#kindCodeDataNodeKind (readonly)

Returns the value of attribute kind.

Returns:



1331
1332
1333
# File 'sig/types.rbs', line 1331

def kind
  @kind
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


1333
1334
1335
# File 'sig/types.rbs', line 1333

def value
  @value
end