parameters: (self, sheet_library_node, title=None, tref=None)
docstring: A node created on the fly, in memory, to correspond to a sheet.
          In the case of sheets, the dynamic nodes created present as the root node, with section info.
          :param parent:
          :param title:
          :param tref:
          :param word:
docstring_summary: A node created on the fly, in memory, to correspond to a sheet.
          In the case of sheets, the dynamic nodes created present as the root node, with section info.
          :param parent:
          :param title:
          :param tref:
          :param word:
docstring_tokens: A node created on the fly in memory to correspond to a sheet . In the case of sheets the dynamic nodes created present as the root node with section info . : param parent : : param title : : param tref : : param word :
function: def __init__(self, sheet_library_node, title=None, tref=None):
          """
          A node created on the fly, in memory, to correspond to a sheet.
          In the case of sheets, the dynamic nodes created present as the root node, with section info.
          :param parent:
          :param title:
          :param tref:
          :param word:
          """
          assert title and tref
  
          self.title = title
          self.parent = None
          self.depth = 2
          self.sectionNames = ["Sheet", "Segment"]
          self.addressTypes = ["Integer", "Integer"]
          self.index = sheet_library_node.index
          super(SheetNode, self).__init__(None)
  
          self._sheetLibraryNode = sheet_library_node
          self.title_group = sheet_library_node.title_group
  
          self._ref_regex = regex.compile("^" + regex.escape(title) + self.after_title_delimiter_re + "([0-9]+)(?:" + self.after_address_delimiter_ref + "([0-9]+)|$)")
          self._match = self._ref_regex.match(tref)
          if not self._match:
              raise InputError("Could not find sheet ID in sheet ref")
          self.sheetId = int(self._match.group(1))
          if not self.sheetId:
              raise Exception
  
          self.nodeId = int(self._match.group(2)) if self._match.group(2) else None
          self._sections = [self.sheetId] + ([self.nodeId] if self.nodeId else [])
  
          self.sheet_object = db.sheets.find_one({"id": int(self.sheetId)})
          if not self.sheet_object:
              raise SheetNotFoundError
function_tokens: def __init__ ( self , sheet_library_node , title = None , tref = None ) : assert title and tref self . title = title self . parent = None self . depth = 2 self . sectionNames = [ "Sheet" , "Segment" ] self . addressTypes = [ "Integer" , "Integer" ] self . index = sheet_library_node . index super ( SheetNode , self ) . __init__ ( None ) self . _sheetLibraryNode = sheet_library_node self . title_group = sheet_library_node . title_group self . _ref_regex = regex . compile ( "^" + regex . escape ( title ) + self . after_title_delimiter_re + "([0-9]+)(?:" + self . after_address_delimiter_ref + "([0-9]+)|$)" ) self . _match = self . _ref_regex . match ( tref ) if not self . _match : raise InputError ( "Could not find sheet ID in sheet ref" ) self . sheetId = int ( self . _match . group ( 1 ) ) if not self . sheetId : raise Exception self . nodeId = int ( self . _match . group ( 2 ) ) if self . _match . group ( 2 ) else None self . _sections = [ self . sheetId ] + ( [ self . nodeId ] if self . nodeId else [ ] ) self . sheet_object = db . sheets . find_one ( { "id" : int ( self . sheetId ) } ) if not self . sheet_object : raise SheetNotFoundError