Lines Matching refs:node

69     entry: an Entry or Clone node
77 def find_unique_entries(node):
82 node: a Section or InnerNamespace instance
91 if not isinstance(node, metadata_model.Section) and \
92 not isinstance(node, metadata_model.InnerNamespace):
93 raise TypeError("expected node to be a Section or InnerNamespace")
98 search_path = isinstance(node, metadata_model.Section) and node.kinds \
99 or [node]
107 def path_name(node):
110 by joining the names of each node and excluding the Metadata/Kind nodes
114 node: a Node instance
124 path = node.find_parents(fltr)
127 path.append(node)
211 def has_descendants_with_enums(node):
213 Determine whether or not the current node is or has any descendants with an
214 Enum node.
217 node: a Node instance
220 True if it finds an Enum node in the subtree, False otherwise
222 return bool(node.find_first(lambda x: isinstance(x, metadata_model.Enum)))
224 def get_children_by_throwing_away_kind(node, member='entries'):
226 Get the children of this node by compressing the subtree together by removing
230 node: An instance of Section, InnerNamespace, or Kind
233 An iterable over the combined children of the subtree of node,
240 if isinstance(node, metadata_model.Section):
243 node_to_combine = node.combine_kinds_into_single_node()
245 node_to_combine = node
400 # Calculate a java type name from an entry with a Typedef node
520 entry: An instance of an Entry node
562 entry: an Entry node
584 entry: An entry node
618 enum_value: an EnumValue node with a valid Enum parent
733 enum: An enum-typed Entry node
734 value: An EnumValue node for the enum
837 def javadoc_crossref_filter(node):
838 if node.applied_visibility in ('public', 'java_public'):
839 return '{@link %s#%s %s}' % (kind_mapping[node.kind],
840 jkey_identifier(node.name),
841 node.name)
843 return node.name
851 for node in node_set:
852 text = text + '\n@see %s#%s' % (kind_mapping[node.kind],
853 jkey_identifier(node.name))
911 def ndkdoc_crossref_filter(node):
912 if node.applied_ndk_visible == 'true':
913 return csym(ndk(node.name))
915 return node.name
923 for node in node_set:
924 text = text + '\n@see %s' % (csym(ndk(node.name)))
1034 filter_function: A Node->string function to apply to each node
1039 by node name.
1044 return lambda node: node.name == name
1072 node = metadata.find_first(name_match(candidate2.replace('\n','')))
1073 if not node and '\n' in section2:
1077 node = metadata.find_first(name_match(candidate2b))
1078 if node:
1081 if node:
1088 node = metadata.find_first(name_match(candidate3.replace('\n','')))
1090 if not node and '\n' in section3:
1094 node = metadata.find_first(name_match(candidate3b))
1095 if node:
1098 if node:
1104 if node:
1105 tag_set.add(node)
1106 return whole_match.replace(candidate,filter_function(node))
1157 by node name.
1163 return lambda node: node.name == name
1250 Word breaks are inserted inside an HTML node only, so the nodes themselves