Class: Hiptest::Nodes::UIDCall

Inherits:
Node
  • Object
show all
Defined in:
lib/hiptest-publisher/nodes.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#children, #parent

Instance Method Summary collapse

Methods inherited from Node

#==, #each_direct_children, #each_sub_nodes, #flat_string, #kind, #pretty_print_instance_variables, #project, #render

Constructor Details

#initialize(uid, arguments = [], annotation = nil) ⇒ UIDCall

Returns a new instance of UIDCall.



242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/hiptest-publisher/nodes.rb', line 242

def initialize(uid, arguments = [], annotation = nil)
  super()
  annotation = nil if annotation == ""

  @children = {
    uid: uid,
    arguments: arguments,
    all_arguments: arguments,
    annotation: annotation
  }

  @chunks = []
  @extra_inlined_arguments = []
end

Instance Attribute Details

#chunksObject

Returns the value of attribute chunks.



239
240
241
# File 'lib/hiptest-publisher/nodes.rb', line 239

def chunks
  @chunks
end

#extra_inlined_argumentsObject

Returns the value of attribute extra_inlined_arguments.



239
240
241
# File 'lib/hiptest-publisher/nodes.rb', line 239

def extra_inlined_arguments
  @extra_inlined_arguments
end