components/policy/tools/template_writers/writers/doc_writer.py
def _AddListExampleAndroidLinux(self, parent, policy):
    '''Adds an example value for Android/Linux of a 'list' policy to a DOM node.

    Args:
      parent: The DOM node for which the example will be added.
      policy: A policy of type 'list', for which the Android/Linux example value
        is generated.
    '''
    example_value = policy['example_value']
    self.AddElement(parent, 'dt', {}, 'Android/Linux:')
    element = self._AddStyledElement(parent, 'dd', ['.monospace', '.pre-wrap'])
    self.AddText(
        element,
        '[\n%s\n]' % ',\n'.join('  "%s"' % item for item in example_value))
Adds an example value for Android/Linux of a 'list' policy to a DOM node.

    Args:
      parent: The DOM node for which the example will be added.
      policy: A policy of type 'list', for which the Android/Linux example value
        is generated.
    
Adds an example value for Android/Linux of a 'list' policy to a DOM node.
Adds an example value for Android / Linux of a ' list ' policy to a DOM node .
def _AddListExampleAndroidLinux(self, parent, policy):
    example_value = policy['example_value']
    self.AddElement(parent, 'dt', {}, 'Android/Linux:')
    element = self._AddStyledElement(parent, 'dd', ['.monospace', '.pre-wrap'])
    self.AddText(
        element,
        '[\n%s\n]' % ',\n'.join('  "%s"' % item for item in example_value))
def _AddListExampleAndroidLinux ( self , parent , policy ) : example_value = policy [ 'example_value' ] self . AddElement ( parent , 'dt' , { } , 'Android/Linux:' ) element = self . _AddStyledElement ( parent , 'dd' , [ '.monospace' , '.pre-wrap' ] ) self . AddText ( element , '[\n%s\n]' % ',\n' . join ( '  "%s"' % item for item in example_value ) )
Adds an example value for Android/Linux of a 'list' policy to a DOM node.
Adds an example value for Android / Linux of a ' list ' policy to a DOM node .
'''Adds an example value for Android/Linux of a 'list' policy to a DOM node.

    Args:
      parent: The DOM node for which the example will be added.
      policy: A policy of type 'list', for which the Android/Linux example value
        is generated.
    '''
self
parent
The DOM node for which the example will be added.
The DOM node for which the example will be added .
policy
A policy of type 'list', for which the Android/Linux example value
is generated.
A policy of type ' list ' for which the Android / Linux example value is generated .