(self, context)
return ''.join(getter_chain_list)
Render the node.
Render the node.
Render the node .
def render(self, context):  # pylint: disable=g-bad-name
    """Render the node."""
    try:
      prop = django_template.Variable(self._variable_name).resolve(context)
    except django_template.base.VariableDoesNotExist:
      return ''

    lang_model = prop.language_model
    parent_pointer = prop.data_type.parent
    getter_chain_list = []

    while parent_pointer.parent:
      # Append a getter for an ancestor of the property.
      getter_chain_list.append(
          lang_model.ToPropertyGetterMethodWithDelim(
              parent_pointer.safeClassName))
      # Move the pointer up one level
      parent_pointer = parent_pointer.parent

    # Now append a final getter for the original property.
    getter_chain_list.append(
        lang_model.ToPropertyGetterMethodWithDelim(
            str(prop.GetTemplateValue('wireName'))))

    return ''.join(getter_chain_list)
def render ( self , context ) : # pylint: disable=g-bad-name try : prop = django_template . Variable ( self . _variable_name ) . resolve ( context ) except django_template . base . VariableDoesNotExist : return '' lang_model = prop . language_model parent_pointer = prop . data_type . parent getter_chain_list = [ ] while parent_pointer . parent : # Append a getter for an ancestor of the property. getter_chain_list . append ( lang_model . ToPropertyGetterMethodWithDelim ( parent_pointer . safeClassName ) ) # Move the pointer up one level parent_pointer = parent_pointer . parent # Now append a final getter for the original property. getter_chain_list . append ( lang_model . ToPropertyGetterMethodWithDelim ( str ( prop . GetTemplateValue ( 'wireName' ) ) ) ) return '' . join ( getter_chain_list )