code: function createDynamicNode(sourceNode, sourceFile, sourceCode, state) {
    switch (true) {
    case isTextNode(sourceNode):
      // text nodes will not have any bindings
      return [nodeToString(sourceNode), []]
    default:
      return createTagWithBindings(sourceNode, sourceFile, sourceCode, state)
    }
  }
docs: Create a generic dynamic node (text or tag) and generate its bindings
  @param   {RiotParser.Node} sourceNode - any kind of node parsed via riot parser
  @param   {stiring} sourceFile - source file path
  @param   {string} sourceCode - original source
  @param   {BuildingState} state - state representing the current building tree state during the recursion
  @returns {Array} array containing the html output and bindings for the current node