Class: Interscript::Node::Group::Parallel

Inherits:
Interscript::Node::Group show all
Defined in:
lib/interscript/node/group/parallel.rb

Instance Attribute Summary collapse

Attributes inherited from Interscript::Node::Group

#children, #reverse_run

Instance Method Summary collapse

Methods inherited from Interscript::Node::Group

#==, #apply_order, #initialize, #reorder_children, #reverse, #to_hash, #to_visualization_array

Methods inherited from Interscript::Node

#==, #initialize, #to_hash

Constructor Details

This class inherits a constructor from Interscript::Node::Group

Instance Attribute Details

#cached_treeObject

A place for Interpreter to store a compiled form of the tree



3
4
5
# File 'lib/interscript/node/group/parallel.rb', line 3

def cached_tree
  @cached_tree
end

#subs_arrayObject

Returns the value of attribute subs_array.



4
5
6
# File 'lib/interscript/node/group/parallel.rb', line 4

def subs_array
  @subs_array
end

#subs_regexpObject

Returns the value of attribute subs_regexp.



4
5
6
# File 'lib/interscript/node/group/parallel.rb', line 4

def subs_regexp
  @subs_regexp
end

#subs_replacementsObject

Returns the value of attribute subs_replacements.



4
5
6
# File 'lib/interscript/node/group/parallel.rb', line 4

def subs_replacements
  @subs_replacements
end

Instance Method Details

#inspectObject



6
7
8
# File 'lib/interscript/node/group/parallel.rb', line 6

def inspect
  "parallel {\n#{super}\n}"
end